~/talk

High Performance Django: From Runserver to Reddit Hugs

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

Live demo uses EC2 instances, Docker/fig containers, RDS Postgres, memcached and JMeter to blast a fake Django app; the baseline 28 req/s with runserver climbs to 72 req/s with uWSGI, roughly doubles with nginx load balancing (~137 req/s) and then jumps to 456 req/s with Varnish while median hot-page latency falls to single-digit milliseconds. Varnish VCL uses TTL plus a grace window to serve stale pages while background refreshes prevent stampedes. Results emphasize deployment architecture and HTTP caching over application-level micro‑optimizations.

AI-written summary · about

  1. 0:00Start
  2. 2:00Django Does Not Scale
  3. 5:26Manage Docker Containers
  4. 6:55Jmeter
  5. 7:32Hot Profile Page
  6. 16:39Nginx as a Load Balancer
  7. 17:58Nginx Configuration
  8. 27:39Vcl Hit Method
  9. 33:40Varnish
~/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.