Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
Realtime With Django
Jonathan Moss
image/svg+xml
Realtime with Django
Sorry no Halloumi this time...
Bullet Two
Bullet Three
...
The Modern Web
No longer simple request cycles
Sites need to be more dynamic
Movement toward web 'apps' rather than web sites
AJAX
Solves some problem
Partial updates
Does not map nicely onto every scenario
Long polling sucks bad!
Web Sockets
Web Sockets
Bi-directional
Push & Pull
Realtime(ish)
But Django doesn't do Web Sockets...
Clearly we should all switch to Node!
It's webscale too:
https://www.youtube.com/watch?v=bzkRVzciAZg
Web Socket with Python
Crossbar.io
WAMP
Pub/Sub + RPC
Polyglot components
200K+ connections on commodity hardware
Demo Time
http://10.76.206.208:8000
https://github.com/a-musing-moose/dross
Crossbar.io
Component Based
Twisted & Asyncio
Plus other languages (see http://autobahn.ws/)
Multi-handler with Multi-node coming
Even databases can become fully integrated components (experimental)
KTHXBYE
https://github.com/a-musing-moose/dross
Realtime with Django
By Jonathan Moss
Made with Slides.com
Realtime with Django
1,359
Jonathan Moss
a_musing_moose
More from
Jonathan Moss