Turning our monolithic Shiny app into a microservices-based structure
summary
Claim: a monolithic Shiny app becomes a set of microservices by extracting data access and calculations into a backend R package, exposing those functions as Plumber endpoints, and keeping Shiny only for rendering or replacing it with plain HTML+JS. Tools used: Shiny + Plumber + Box for modularization, Posit Connect or Docker for deployment. Result: fewer merge conflicts, unit tests for logic, and one app successfully ran entirely without Shiny; watch out for concurrency limits (≈20 users on their setup) and single-threaded endpoints requiring separate scaling.
AI-written summary · about
