Django Channels and Websockets in Production! | Rudy Mutter @ PyBay2018

テクノロジー



This talk was presented at PyBay2018 – the Bay Area Regional Python conference. See pybay.com for more details about PyBay and click SHOW MORE for more information about this talk.

Abstract

The Technology As web technologies have progressed, many backend frameworks that can take advantage of asynchronous code have integrated websockets. This has gone hand and hand with users who now often expect near real-time communication with the applications they use daily. Andrew Godwin started work on bring websockets into Django with is work on Channels in 2015. With the release of Channels 2.0 this year it’s ready for prime time!

The Problem Django Channels, even though it was been worked on for a few years is still relatively new in the Django world. Even moreso we were using Channels 2.0, which had literally just come out a week prior to us diving head first into Django + websockets. I personally learn best from seeing fully fleshed out examples and an ample amount of tutorials. In this case, we had to rely on just the documentation and go it alone for our use case, which is a bit different than your standard chatroom websocket example.

The Talk From this talk you’ll get working code samples that show you a fleshed out Django Channels implementation that is live in production. We’ll cover some first-time pitfalls that you should watch out for (that we fell into). You should walk away with an understanding of how you may go about integrating Django Channels into your application and where you would start with several helpful resources that you can follow up with after the talk. Specifically one of the largest areas that you’ll get a jump start in is actually deploying and running infrastructure that will support Django Channels.

Speaker Bio
Rudy is the CTO & a founding partner at Yeti a product development firm in San Francisco. He also runs the San Francisco Django Meetup Group. Rudy became obsessed with technology once he got his first computer and subsequently spent his childhood developing games and websites. Rudy now resides in the Yeti Cave architecting Yeti’s system and heads up project production.

This and other PyBay2018 videos are brought to you by our Gold Sponsor Cisco!

Comments

Copied title and URL