Scaling Shiny Apps for Python and R: Sticky Sessions on Heroku

Опубликовано: 10 Июль 2026
на канале: analythium
673
10

Scaling Shiny apps requires load balancing with session affinity which is not a trivial matter. This video shows you how to set up sticky sessions for Shiny apps using Python or R on Heroku.

Links:
Blog post: https://hosting.analythium.io/scaling...
GitHub repository with Python, R, and Shinylive examples: https://github.com/analythium/shiny-l...

Table of contents:

0:00 Intro
2:36 Deployment
7:09 Test applications
12:10 Containerizing the test apps
14:00 Running single instance locally
16:14 Load balancing explained
18:46 Deploy a single instance to Heroku
25:23 Scaling instances on Heroku