~/talk

Database Performance at Scale for RoR Applications

Talkat GORUCO 2016 · on Saturday, 2016-06-25· [ruby-on-rails, databases, web-performance]
links:none on file
slides:none on file

Ruby on Rails apps hit real limits: Active Record’s “auto‑magic” causes duplicated and slow queries, and GitHub runs this at 60 million users with 19M repos and 15M issues. Expect concrete fixes: finding n+1 queries with request‑level instrumentation, measuring raw query counts and latencies, adding focused MySQL indexing optimization, cloning production tables to staging to validate plans, running A/B query experiments, and capping database round trips and pagination.

AI-written summary · about

  1. 0:00Introduction
  2. 0:26Why is performance important
  3. 1:00Why performance matters
  4. 2:15Numbers
  5. 3:00Graphing
  6. 3:40Customization
  7. 4:11Common Problems
  8. 5:03Pig
  9. 6:25Poor Indexing
  10. 6:50Too many indexes
  11. 7:39Postgres
  12. 8:28Multicolumn index
  13. 9:02Extend existing index
  14. 9:30Exception tracking
  15. 10:51Hebert
  16. 11:25Science
  17. 12:19Limits
  18. 12:40Summary
  19. 13:07Thank you
~/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.