~/talk

A Rails Performance Guidebook: from 0 to 1B requests/day

Talkat RailsConf 2022 · 2022-05-17..05-19· [ruby-on-rails, web-performance]
slides:none on file

Claims real load handling: the system serves 16.3 billion tickets and a Rails monolith sits on about 400 TB of relational data, with the biggest ticket table at 41 GB and events shards at multiple TBs. Concrete tools and fixes include using write-through caching, database indexes and EXPLAIN, avoiding greedy SELECTs, S3 cold storage archival (85% of data archived), latency error budgets, and targeted migrations/splits that measurably cut hot queries.

AI-written summary · about

  1. 0:00Introduction
  2. 4:25Rails scaling myth
  3. 7:57Performance mindset
  4. 8:41Monitoring and error budgets
  5. 11:07Database query basics
  6. 13:13Caching derived data
  7. 15:39The dangers of misusing caching
  8. 17:48Cold storage for rare data
  9. 21:38Product limits for scalability
  10. 23:00Avoid bloated API payloads
  11. 24:05Breaking down slow workflows
  12. 25:32Power user optimizations
  13. 27:14Trade-offs and perfection
~/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.