Load testing Shiny - Alan Dipert

September 6, 2018 Alan Dipert

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 Author

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.

Follow on Twitter Visit Website More Content by Alan Dipert
Previous Article
Error when moving to 3.5 : C stack usage ... is too close to the limit
Error when moving to 3.5 : C stack usage ... is too close to the limit

@felloumi wrote: Dear all, We have production and development servers (with the ...

Next Article
How to Build a Shiny "Truck"!
How to Build a Shiny "Truck"!

Why is this about trucks? Last month, at the R/Pharma conference that took place on the Harvard Campus, I ...