~/talk

High-Availability Django

Talkat DjangoCon US 2016 · 2016-07-17..07-22· [devops-and-delivery, web-performance]
links:none on file
slides:none on file

Theatlantic.com migrates from PHP to Django and cuts catastrophic deploy pauses by switching from mod_wsgi to uWSGI Zerg mode and preloading workers, using an A/B symlink deploy and warming workers with cache‑busted requests to achieve zero-downtime deploys. An nginx proxy cache holds responses when backends fail, and query changes (using .values() instead of full model hydration) shave ~80 ms per request, moving end-to-end times from ~80 seconds at worst to ~150 ms in steady state. Monitoring uses New Relic/opbeat and a uWSGI stats page.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Overview
  3. 2:44Profiling
  4. 3:59Caching
  5. 6:19Query Optimization
  6. 8:11Server Upgrade
  7. 9:25Directory Structure
  8. 11:00Stage and Live
  9. 13:04ModWhiskey Documentation
  10. 13:37YouWhisky Monitoring
  11. 16:29Questions
~/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.