4:30 - 5:00 PM - Turning our monolithic Shiny app into a microservices-based structure.
Juan Cruz Rodriguez, Ph.D.
Shiny is a popular framework for creating interactive web applications in R. However, as Shiny apps grow in complexity, it can become difficult to maintain and scale them. In this presentation, we will discuss how we turned our monolithic Shiny app into a microservices-based structure via backend API components.
By breaking our app into smaller, independent components, we were able to improve the maintainability and scalability of our application. We also gained the ability to easily create a public API for our app, which allowed us to avoid the need for copy and paste code through our applications.
Additionally, by moving to a microservices architecture, we no longer needed to have a Shiny daemon continuously running. This reduced the resource demands of our app and made it easier to deploy and manage.
Overall, our transition to a microservices-based structure has greatly improved the efficiency and flexibility of our Shiny app. We will share the challenges and benefits we encountered during the process, and provide practical tips for those looking to make a similar transition.