~/talk

Django Admin at Scale: From Milliseconds to Microseconds πŸš€

Talkat DjangoCon Europe 2025 Β· 2025-04-23..04-27Β· [django, web-performance]
links:none on file
slides:none on file

Notification_log queries cause 504s for product teams when millions of rows make admin pages time out; fixes include strategic eager loading with select_related/only/defer, bulk updates plus batch processing to avoid OOM, and a custom keyset pagination using last ID instead of offset/limit. Caching querysets with Django cachops and replacing heavy foreign-key widgets with raw ID fields cuts DB load; monitoring uses Django Debug Toolbar, Silk and APMs. Response times fall from >10s to <200ms and the changes hold under real production-like data.

AI-written summary Β· about

  1. 0:00Introduction and context
  2. 4:43Diagnosing bottlenecks
  3. 8:23Optimization solutions
  4. 17:50Maintenance and strategies
  5. 24:17Questions and answers
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← β†’
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.