~/talk

A Nice Problem to Have: Django Under Heavy Load

Talkat DjangoCon US 2014 · 2014-08-30..09-06· [django, web-performance]
slides:none on file

When traffic crushes the site the first bottleneck is almost always the database: sessions, Celery results and messages can be ~80% of writes, reckless ORM use creates N+1s that select_related/prefetch_related often remove, and a single SSD temp partition + 20–30% boost can help. Start with New Relic + statsd/graphite for visibility, prefer surgical fixes that hit the 99/1 sweet spot, consider sharding or Redis for counters (watch race conditions), and remember 100ms → 4% revenue lift.

AI-written summary · about

  1. 0:00Introduction
  2. 1:40Drinking from the Firehose
  3. 4:37Where to Start
  4. 7:12Sledgehammers
  5. 16:43OverQuerying
  6. 18:52Full Loops
  7. 19:49Single Queries
  8. 21:40Indices
  9. 23:32Multicolumn indexes
  10. 25:20Query Analyzer
  11. 27:27Tuning Your Database
  12. 30:01Sharding
  13. 32:04Third Major Strategy
  14. 36:00How Downstream Cache Works
  15. 37:21Going Beyond Django Cash
  16. 38:15Rattus
  17. 39:18Limitations
  18. 40:46chugging faster
  19. 41:21work with me
~/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.