~/talk

Shiny New Tools for Scaling your Shiny Apps

Talkat posit::conf(2023) · 2023-09-17..09-20· [web-performance, webassembly]
links:none on file
slides:none on file

Shiny app moves plotting from server to browser by sending data to each client and rendering with DuckDB-WASM for in-browser SQL and Observable Plot.js for ggplot-like visuals, handling ~56k-row datasets in the client. Measured result is ~40% speed improvement and much more consistent session durations when scaling from 1 to 100 concurrent users. Setup requires a small HTTPuv mime-type tweak and carries caveats: browser memory limits and exposing sensitive data to clients.

AI-written summary · about

  1. 0:00Scaling Shiny apps
  2. 1:33Scaling Shiny to many users
  3. 4:03Shiny concurrent requests
  4. 5:55Offloading to JavaScript
  5. 7:16Client-side data tools
  6. 10:48Refactoring with new tools
  7. 11:30Scaling results
  8. 13:14Benefits and trade-offs
  9. 14:38Caveats and limitations
  10. 15:41Closing and Q&A
~/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.