~/talk

Building maintainable Django projects: the difficult teenage years

Talkat DjangoCon US 2025 · on Tuesday, 2025-09-09· at 11:40· Wolf Point Ballroom· [django, frontend-architecture]
slides:none on file

Ten years of a single Django codebase yields concrete fixes not slogans: a custom-event pattern that injects Vue components via teleport/portals into legacy pages, and using JSON script to pass view context to JS. Database tactics include setting Postgres statement_timeout in a custom DB wrapper plus a context manager, and routing slow pages through PG bouncer (e.g. limit to 2 real DB connections and 4 queued queries) to protect the cluster; use least-request load balancing for 100 ms vs 30 s handlers.

AI-written summary · about

  1. 0:00Introduction
  2. 3:11Front-end interoperability
  3. 7:44Hybrid migration strategies
  4. 10:11Django and front-end data
  5. 11:34Slow legacy features
  6. 12:19PostgreSQL timeouts
  7. 14:25PG Bouncer for pooling
  8. 17:35Load balancing strategies
  9. 20:25Summary
  10. 20:45Q&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.