~/talk

My Server for Aiur: How Starcraft Taught Me To Scale

Talkat Aloha RubyConf 2012 · 2012-10-08..10-09· [devops-and-delivery]
slides:none on file

Measure everything in production, then optimize where the measurements point: use logs and New Relic/Scout to find N+1s and slow queries, add eager loading and indexes, set config.active_record.auto_explain_threshold to catch scans, wrap expensive results with rails.cache.fetch backed by memcache (dolly), move static assets to a CDN and enable assets.digest true with long expires headers, push background jobs to Resque/ActiveJob and scale web dynos with heroku ps:scale.

AI-written summary · about

  1. 0:00Introduction
  2. 3:24Starcraft scaling strategies
  3. 7:15Backend speed optimization
  4. 15:36Caching expensive ops
  5. 20:49Avoid premature optimization
  6. 22:13Throughput with capacity
  7. 29:56Data storage patterns
  8. 33:08Client-side performance
  9. 40:58Summary and Q&A
~/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.