~/talk

How Shopify Scales Rails

Talkat Big Ruby 2013 · on Thursday, 2013-02-28· [ruby-on-rails, web-performance]
slides:none on file

Shopify runs Rails at 50k requests per minute with ~45 ms storefront responses and handles spikes to ~200k rpm during flash sales, scaling from a single server to 33 app servers and 1,172 Unicorn workers. The stack uses Ruby 1.9.3, Rails 3.2, Percona MySQL, Redis, memcache, New Relic and Splunk. Built tools include cachable (controller/page memcache caching), identity_cache (memcache-backed model cache) and conan (production load tester); backgrounding (Resque) and DB tuning cut latency and removed contention.

AI-written summary · about

  1. 0:00Intro
  2. 1:23The Stack
  3. 5:16Looking Back, to Look Ahead
  4. 10:50Know The System
  5. 12:03Chive Flash Sale
  6. 13:27Measure ALL THE THINGS
  7. 15:18New Relic
  8. 15:34Splunk
  9. 20:02Caching 4045
  10. 21:44Identity Cache
  11. 24:13Delayed Job
  12. 24:50Resque
  13. 26:46Background Payment Processing
  14. 27:57Redis
  15. 29:11MySQL Hardware
  16. 29:58MySQL Query Optimization
  17. 31:27MySQL Tuning
  18. 34:38after_commit
  19. 36:43Services
  20. 37:22Imagery
~/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.