E-Commerce with Django at Scale...
summary
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
chapters (12)
- 0:00Intro
- 0:42Topics
- 2:26Implementation
- 7:00Data Caching
- 10:18The Problem
- 11:51Pass Rendering
- 12:50Class Based View
- 13:48CSRF Tokens
- 15:45Django Template
- 17:34Second Pass Template
- 17:55Migration Rules
- 19:11Outro








