Sunday 1:50 p.m.–2:20 p.m.
WebSockets from the Wire Up
- Audience level:
- Web Frameworks
HTML5 WebSockets power the real-time web. Come take a deep dive into how they work, from the big picture down to what goes over the wire, including insight into the performance benefits of the protocol, via a real-world example of how WebSockets are implemented client- and server-side in Python.
Real-time webapps may be all the rage with NodeJS, but you can write them in Python too. Underneath a real-time webapp lies a technology called WebSockets, part of the HTML 5 spec. This talk takes a deep dive into WebSockets and how this TCP-based protocol works on the client- and server-side, using Python networking tools to see what actually goes over the wire. We'll also talk about protocol details you're sure to run into deploying a WebSockets app in production, like connection upgrading and gracefully falling back to older technologies when clients don't support WebSockets. All this networking and protocol talk may sound dry, but don't worry, I'll make it fun. :)