~/talk

The life of a web request - techniques for measuring and improving Django application performance

Talkat PyCon Australia 2013 · 2013-07-05..07-07· [web-performance, django]
links:none on file
slides:none on file

Shows concrete metrics and fixes: front end consumes 80–90% front-end time, an example page hits 177 requests and 2.6 MB and takes ~8.6s fully loaded while the primary HTML is 202ms. Recommends measuring with Google Analytics, New Relic, Chrome devtools, WebPageTest and Django Debug Toolbar; profile with django-extensions and graphite; fix with caching, compression, Django Pipeline, select_related/prefetch_related and async tasks (Celery). Demonstrates a streaming template and eager streaming proof‑of‑concept that surfaces a top banner in ~0.5s but warns about middleware and error‑handling caveats.

AI-written summary · about

  1. 0:00Introduction
  2. 6:33Measuring
  3. 9:15Static resources
  4. 10:42Varnish
  5. 12:13Debugging
  6. 13:33Django
  7. 15:42Compression
  8. 16:03Query performance
  9. 16:45Defer workloads
  10. 17:16Django performance
  11. 18:03Streaming responses
  12. 19:23Eager streaming
  13. 20:57Future context
  14. 22:00Summary
  15. 22:19Questions
~/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.