~/talk

Python: Ludicrous mode (with Django)

Talkat PyCon AU 2017 · 2017-08-03..08-08· [python, django]
slides:none on file

Latency is primarily a function of distance, not CPU or bandwidth: examples show 36 GB via carrier pigeon — 20 minute RTT -> 30 minutes total and NBN 1 Mbps -> 10 hours for 36 GB. Recommendations target real fixes: use Django streaming responses to send rows as produced, prefer locked in-process caches and template fragment caching, apply select_related/prefetch_related, annotate/aggregate, watch queries with Django Debug Toolbar or New Relic, avoid cross-continent cache servers, and New Atlas uses Postgres xmin for cache invalidation and proposes streaming template responses and HTTP/3 late status codes.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:32Latency versus bandwidth
  3. 2:54Latency scenarios
  4. 5:36Web protocol overhead
  5. 7:44Django request processing
  6. 10:22Streaming responses
  7. 13:05Caching strategies
  8. 15:17Template optimizations
  9. 16:56Lazy evaluation
  10. 19:10Database query optimization
  11. 20:45Recap and optimization workflow
  12. 23:27Conclusion and Q&A
~/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.