~/talk

Single-Server Django Applications Without Process Overhead

Talkat DjangoCon Europe 2026 · 2026-04-15..04-19· [python]
links:none on file
slides:none on file

Claim: a single process can run Django web workers and background tasks without separate brokers by using Python 3.14 subinterpreters and Django 6 tasks. Prototype uses Hypercorn, a custom subinterpreter queue backend and in‑memory queues (demo shows multiple subinterpreters handling web requests and task workers and broadcasting messages successfully). Works for pure‑Python stacks and can switch to a database backend to scale, but has limits: C extensions (numpy, pydantic) lack multi‑init, file‑descriptor aliasing and startup sequencing are tricky, and memory/monitoring are still unknown.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:33Why defer processing in Django
  3. 7:55Python sub interpreters overview
  4. 10:44Django task framework
  5. 13:37Combining sub interpreters and Django tasks
  6. 15:49Single-process web server binding
  7. 16:09Live demo walkthrough
  8. 19:22Scaling and error handling
  9. 20:50Limitations and unknowns
  10. 21:52Future work and closing thoughts
  11. 23:19Q&A session
~/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.