~/talk

E-Commerce with Django at Scale...

Talkat DjangoCon US 2015 · 2015-09-06..09-11· [web-performance]
speakerdeck:npinchot
slides:none on file

Shows how two-pass rendering caches a first pass of non‑user HTML then injects per‑user pieces (including CSRF) on a fast second pass by rendering a template into a template. Describes a custom database backend that monkey‑patches get_new_connection to round‑robin read replicas with a 5s connect timeout and automatic failover to master. Outlines a data caching strategy of shared data objects and layered caches and gives concrete migration rules: add new columns don’t rename or immediately delete, copy data then swap.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Topics
  3. 2:26Implementation
  4. 7:00Data Caching
  5. 10:18The Problem
  6. 11:51Pass Rendering
  7. 12:50Class Based View
  8. 13:48CSRF Tokens
  9. 15:45Django Template
  10. 17:34Second Pass Template
  11. 17:55Migration Rules
  12. 19:11Outro
~/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.