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 Video
Help me help you. Creating reproducible examples - Jenny Bryan
Help me help you. Creating reproducible examples - Jenny Bryan

What is a reprex? It’s a reproducible example. Making a great reprex is both an art and a science and this ...

Next Video
R, RStudio 1.2 & Python a love story - Sean Lopp
R, RStudio 1.2 & Python a love story - Sean Lopp

We'll discuss R’s history of interoperability and the philosophy of Reticulate, the Reticulate-powered feat...

×

Please register to receive regular updates on our webinars.

!
Thank you!
Error - something went wrong!