Load testing Shiny

shinyloadtest and shinycannon are two new tools that work together to help you answer the question: how many users can my app support?

Load testing Shiny

September 6, 2018

shinyloadtest (https://github.com/rstudio/shinyloadtest) and shinycannon (https://github.com/rstudio/shinycannon) are two new tools that work together to help you answer the question: how many users can my app support? I’ll demonstrate using shinyloadtest to produce a “recording” of an interaction with a Shiny app, and then I’ll show how to use shinycannon to “play back” that recording, generating load. Then I’ll bring the data produced by the load test back into R for analysis. Finally, I’ll interpret the results and discuss techniques for increasing the number of users a Shiny app can support.


About the speaker

Alan Dipert

Alan is a software engineer on the Shiny team at RStudio. In the past, he’s helped build web applications, reporting pipelines, and many things between. When he’s not working, Alan likes to spend his time reading or being with his family.