~/talk

What I learned from running Shiny in production

Talkat satRday Johannesburg 2019 · on Saturday, 2019-04-06· [devops-and-delivery, data-science]
slides:none on file

Experience running Shiny in production distilled into concrete actions and limits, not platitudes: use shinytest for UI regression checks, use shinyloadtest to replay N concurrent users and find contention, persist large frames with feather to avoid repeated queries, and apply caching and horizontal scaling of multiple Shiny processes for availability. Watch out for single‑page session limits, R’s interpreted performance on tight loops, and the real work of linting, version control, automated deploys and cross‑team ops coordination — start testing early.

AI-written summary · about

  1. 0:00Intro
  2. 2:50Where to run Shiny
  3. 4:20Learning about Shiny
  4. 5:01Why use Shiny
  5. 6:13Reasons not to use Shiny
  6. 7:00Definition of Production
  7. 7:35Goals of Production
  8. 8:08Challenges to Shiny in Production
  9. 9:20Tools: shinytest
  10. 11:17Tools: shinyloadtest
  11. 12:09Tools: profvis
  12. 12:47Tools: Asynchronous programming
  13. 13:59Tools: Feather
  14. 14:49Tips: Setting up Production pipeline
  15. 16:45Tips: Filter as close to source as possible
  16. 17:21Tips: Plot caching
  17. 17:42Tips: Horizontal scaling
  18. 18:01Conclusion
  19. 18:55Resources
~/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.