~/talk

Scaling Rails for Black Friday and Cyber Monday

Talkat RailsConf 2015 · 2015-04-21..04-23· [ruby-on-rails, web-performance]
slides:none on file

Platform serves 150,000 shops and peaks near a million requests per minute; Black Friday/Cyber Monday hits ~600k req/min and ~6,000 orders/min. Scaling choices are concrete: a cashable gem implements generational page caching with ~60% hit rates to avoid DB and Liquid rendering, identity cache marshals ActiveRecord into memcached to cut MySQL queries, backgrounding and throttled Resque jobs move slow work out of Unicorn, toxiproxy and tests force resiliency, and a senior circuit breaker fails shards fast so the site keeps serving.

AI-written summary · about

  1. 0:00Start
  2. 5:29generational caching
  3. 9:50full model caching
  4. 13:59throttling
  5. 16:55load testing
  6. 17:08genghis khan
  7. 20:28resiliency
  8. 21:49minor dependencies take you down
  9. 26:42how can we fail fast?
  10. 28:39what else can go wrong?
  11. 29:14manual circuit breakers around external dependencies
~/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.