~/talk

High Performance Django

Talkat DjangoCon US 2008 · on Saturday, 2008-09-06· [web-performance]
slides:none on file

Built a stack that handles ~15 million pages/day with 12 web servers and Squid doing 2–4k requests/sec while Django servers handle ~200; switching to mod_wsgi shows ~40% memory improvement and ~2x requests/sec in benchmarks. Warns that Django ORM causes hundreds of queries per page if misused, recommends targeted select_related, cProfile and DB query dumps for profiling, and describes painful cache invalidation at scale and an object‑level caching idea that needs tuning.

AI-written summary · about

  1. 0:00Intro
  2. 0:34Curse
  3. 3:23Tools of the Trade
  4. 4:59How We Did It
  5. 6:39Lessons Learned
  6. 8:29Webserver Software
  7. 9:22Database (ORM)
  8. 12:48Handling JOINS
  9. 13:59Template Rendering
  10. 16:31Template Engines
  11. 17:19Caching
  12. 19:43Cache With a Plan
  13. 23:09Cache Commonly used Items
  14. 25:30Profiling Code With CProfile
  15. 28:47Summary
~/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.