Hi,
I’m helping with the development of a Shiny app that my organisation plans to deploy to shinyapps.io. I’ve been asked how many people will be able to use our app simultaneously. (The context for this question is the possibility of an initial surge of interest immediately after launch, rather than on-going traffic.)
Having looked at these links…
- https://support.rstudio.com/hc/en-us/articles/221016847-How-many-users-can-access-my-application-on-shinyapps-io-at-once-
- http://shiny.rstudio.com/articles/scaling-and-tuning.html
- http://docs.rstudio.com/shinyapps.io/applications.html#ApplicationInstances
… I understand that a Professional plan on shinyapps.io will support:
- up to 10 instances of the app running at the same time
- up to 10 R worker processes running on each instance
- multiple end-users being serviced by each R worker process.
Does this mean it’s realistic to think we could have up to 100 R worker processes in action supporting 1000 (or 2000, or perhaps even 5000?) simultaneous end-users?
Especially if:
- the data files loaded by the app are not too big – so that 10 separate R worker processes really can be running in the memory allocated to a single instance
- the app is not computationally heavy – essentially filtering a dataframe of pre-calculated statistics and re-drawing graphs – so that a single R worker process really can handle several end-users.
Does anyone have experience of an app getting a spike of this kind of traffic on shinyapps.io?
Or experience of how to load test an app on shinyapps.io?
Many thanks.