Keynote: Architecting with Channels
summary
Explains a concrete system that brings websockets into Django by routing events through a channel layer so clusters coordinate broadcasts and task offloads rather than each process reinventing networking. Claims: five primitives (send receive group add remove) plus session and auth integration, class consumers, and a Daphne server with a Redis backend or shared memory option. Demonstrates multiplexing data binding working in a live demo, reports lab load tests matching Unicorn performance and funding of $150,000 toward 1.0.
AI-written summary · about
chapters (40)
- 0:00Introduction
- 1:20Audience Participation
- 1:43Who am I
- 2:02WebSockets
- 3:27DjangoCon 2012
- 4:20Django on Air
- 5:29What are Channels
- 5:46Channels is not just WebSockets
- 6:11The real hard problem
- 7:11Why WebSockets
- 7:27Architectural Decision Consideration
- 7:40WebSocket
- 9:18Broadcast
- 10:33Channels Framework
- 12:47Power of Channels
- 14:41Charles
- 16:20Redis
- 16:55Shared Memory
- 17:27Multiple Redis
- 18:48Flexibilities
- 18:59ASGI
- 19:20Jango
- 25:06Chat
- 25:58Routing
- 26:50Authentication
- 27:15Live Blog
- 27:52Data Binding
- 28:44Demo
- 30:27Pit Wars
- 31:10MQTT
- 31:21How Channels Works
- 34:13Consumers
- 35:16The Bigger Picture
- 36:18The 80 Step
- 36:41Funding
- 38:01Goals of a framework
- 38:17Sections of deadlines
- 38:31Questions
- 38:57Relational Databases
- 40:18WebSocket Reliability
related talks
22mDjango Channels Teaching a mature framework new tricks
31mReinventing Django for the Real-Time Web
12mHacking Django Channels for Fun (and Profit)
29mBuilding and scaling a live event platform with django-channels
55mWorkshop 1 - Let's Make a Realtime Game with Django Channels
38mButter smooth, interactive applications with Django...
41mWebRTC with Django, Channels, HTMX, and coturn with Ken Whitesell
55mKeynote: The Natural State of Computers
