~/talk

Caching everywhere

Talkat DjangoCon Europe 2023 · on Tuesday, 2023-05-30· at 09:50· Music Hall· [web-performance]
links:none on file
slides:none on file

Boozer uses Django cache framework with Redis/Memcached backends, Python’s lru_cache and cached_property for memoization, and django-cacheback to serve stale values while refreshing in background; nginx and CDN leverage surrogate headers like s-maxage to avoid origin hits. Practical fixes include a Django cache key/thread-safety bug and reuse of pooled Redis clients. Tradeoffs: stale-but-fast pricing/stock updates vs strict freshness. These measures materially reduce latency and origin load and enable scale.

AI-written summary · about

  1. 0:00Introduction to caching
  2. 1:21Python caching techniques
  3. 5:14Memoization and libraries
  4. 9:13Django caching framework
  5. 12:44Data staleness and validation
  6. 16:40Page and global caching
  7. 21:13Application layers and CDNs
  8. 24:03Network latency and headers
~/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.