Slide 1

Slide 1 text

Shimmer and Shiny Andrie de Vries Solutions Engineer, Rstudio @RevoAndrie 1

Slide 2

Slide 2 text

The problem • You want to deploy a Shiny app to RStudio Connect or Shiny Server Pro • At the planning stage, you want to know: • How big should the server / cluster be? • How many server licenses to buy? • At the dev stage, want to know: • How to optimize the shiny runtime settings 2

Slide 3

Slide 3 text

Brute force approach • Build the app • Test with shinyloadtest 4

Slide 4

Slide 4 text

Data science approach 5 %>% → Discrete event simulation

Slide 5

Slide 5 text

Shimmer 6 # devtools::install_github("andrie/shimmer") library(shimmer) # Run the app locally shimmer_shiny()

Slide 6

Slide 6 text

Demo 7 http://colorado.rstudio.com/rsc/shimmer_and_shiny/