~/talk

Building real time applications with Django

Talkat DjangoCon Europe 2018 · 2018-05-23..05-25· [django, web-performance]
links:none on file
slides:none on file

Explains how Channels 2.0 + ASGI let Django handle real‑time protocols (WebSockets) with Daphne as the protocol server, a channel layer for IPC, routers, and stateful consumers that live per‑connection. Builds a mini Google‑Docs style demo: live user counts, per‑document read/edit labels and browser notifications — demoed via video and working. Notes practical details: use Python 3, convert sync/async with sync_to_async, and a pitfall where sending an event with a missing handler silently fails.

AI-written summary · about

  1. 0:00Introduction to Channels
  2. 1:18From synchronous to async
  3. 3:04Core concepts and ASGI
  4. 5:25Channels architecture
  5. 8:24Consumers and WebSockets
  6. 11:14Real-time demo walkthrough
  7. 13:38Configuring routing and layers
  8. 16:48Building consumer logic
  9. 19:40Advanced consumer management
  10. 24:45Integrating with Django models
  11. 27:30Q&A and final thoughts
~/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.