~/talk

Shiny in production: Principles, practices, and tools

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [web-platform, devops-and-delivery]
name:Joe Cheng
github:jcheng5
slides:none on file

Argues Shiny is production‑ready and demonstrates concrete tooling and workflow: use shinyloadtest to record realistic traffic, use profvis to find hotspots, move heavy ETL out of the server and precompute feather files, then apply renderCachedPlot‑style plot caching. Example app targets 100 concurrent users on a 16‑core machine; median session latency falls from ~210s to ~50s after ETL and to ~20s with plot caching. Caches can live on disk, shared filesystem or Redis; approach noticeably improves scalability and predictability.

AI-written summary · about

  1. 0:00Intro
  2. 1:56CRAN Wales
  3. 5:39What is production
  4. 10:25Can Shiny be used for production
  5. 13:46Organizational challenges
  6. 15:38Technical challenges
  7. 23:04Run your shiny app
  8. 23:54Shiny Load Test
  9. 26:02Profiler
  10. 29:27ETL
  11. 33:41Plot caching
  12. 39:31Summary
  13. 43:43Best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.