~/talk

WebSockets: Intro to Messaging

Talkat DjangoCon US 2016 · 2016-07-17..07-22· [web-platform, django]
slides:none on file

Claims that WebSockets give a persistent connection for bidirectional low‑latency messaging and that Django Channels adds a scalable layer to handle it. Uses Daphne as the ASGI interface server, worker thread pools, channel layers with memory/IPC/Redis (recommended in production), and concepts like reply channel and groups. Demo builds an echo chat, sends a message from the shell to a channel ID and it arrives, so the stack works; caveats: worker sizing, backend choice, and using decorators for auth/session.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Why WebSockets
  3. 2:32WebSocket Workflow
  4. 4:58Thread Management
  5. 12:28What are Channels
  6. 17:30Django Channels Groups
  7. 22:37Django Channels Backing Layers
  8. 24:52Django Channels Interface Servers
  9. 27:29Django Channels Outside Django
  10. 38:16Django Channels Missing Features
  11. 39:29Persistence
  12. 41:15Django Channels
~/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.