~/talk

The Queue Continuum: Applied Queuing Theory

Talkat RailsConf 2022 · 2022-05-17..05-19· [ruby-on-rails, devops-and-delivery]
links:none on file
slides:none on file

Star Trek framing, then concrete claims and knobs: Little's law shows service time times arrival rate gives offered traffic (example: six beamed every five seconds → offered traffic 41.5), utilization above ~90% makes queuing latency explode, and adding parallelism (more transporters/processes) or tuned concurrency (more threads) is quantified. Uses Brendan Gregg’s use method (utilization, saturation, errors), benchmarks Sidekiq concurrency history (30 → 10) and practical Puma per‑process queues, plus IO‑weight math to pick concurrency.

AI-written summary · about

  1. 0:00Introduction
  2. 2:30Queuing theory meets Star Trek Transporters
  3. 5:05Little's law explained
  4. 8:20USE method for capacity planning
  5. 11:34Parallelism versus concurrency
  6. 15:47Vertical and horizontal scaling
  7. 17:14Global VM Lock and Ruby threads
  8. 20:44Benchmarking concurrency
  9. 23:57Distributed job queuing with Sidekiq
  10. 26:43Web request queuing and Heroku routing
  11. 28:09System-wide queuing balance
  12. 29:11Closing remarks
~/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.