~/talk

Django Channels Teaching a mature framework new tricks

Talkat PyCon Israel 2017 · 2017-06-11..06-13· [django, web-platform]
links:none on file
slides:none on file

Shows how Django Channels turns a standard Django stack into a real‑time system using Daphne (ASGI), a Redis channel layer in production and the in‑memory layer in development. Demonstrates a few lines of synchronous consumer code, uses synchronous consumers and groups to broadcast client updates, and builds a collaborative canvas that echoes XY coordinates at ~10 updates/sec and runs on a weak Amsterdam instance. Explains session auth decorators, most‑once delivery semantics, and routing like urls.

AI-written summary · about

  1. 0:00Introduction
  2. 2:45The problem with WebSockets
  3. 6:35Why choose Django
  4. 9:44Understanding WebSockets
  5. 11:36Django Channels overview
  6. 14:16Building with channels
  7. 17:54Implementation details
  8. 20:12Q&A and conclusion
~/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.