~/talk

Plan to scale or plan to fail: an evidence-based approach for improving systems performance

Talkat RubyConf 2024 · 2024-11-13..11-15· [ruby]
slides:none on file

Methodology replicates a Rails production stack on real infra with terraform, pushes synthetic traffic via a custom Go generator, and measures throughput and bottlenecks. Full test runs five days ingesting 190,000 chats/hr and 634,000 emails/hr; a 240k-record workflow averages about 2.5s per record but queue latency spikes to 6.5 hours as DB connections double from ~500 to 1,000 causing ActiveRecord connection failures until the database is scaled.

AI-written summary · about

  1. 0:00Scaling challenges
  2. 3:13Load testing essentials
  3. 5:02Replicating production
  4. 8:18Terraform test infrastructure
  5. 9:41Simulating workloads
  6. 13:12Analyzing test results
  7. 15:27Full system performance case
  8. 20:09Sharing team insights
  9. 21:39Avoiding premature optimization
  10. 22:44Summary
~/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.