Тёмный

DjangoCon Europe 2023 | Building and scaling a live event platform with django-channels 

DjangoCon Europe
Подписаться 8 тыс.
Просмотров 1,1 тыс.
50% 1

Building and scaling a live event platform with django-channels
by Raphael Michel
pretalx.com/djangocon-europe-...
Channels has been around for a while now and we’ve built a virtual event platform with it. Let’s have a look at the challenges involved in serving thousands of concurrent users with it.
Since django-channels has been released in 2015, async support has been a hot topic around the Django community and over the years, we have seen lots of introductory talks and tutorials on how to get started with channels and websockets. In lots of them, including the official channels tutorial, the example use case is implementing a simple chat server.
So when the pandemic hit the event industry in 2020, we did just that. We’ve implemented Venueless, a BSL-licensed interactive event platform that integrates the entire stack required to run a remote conference, including talks, workshops, and direct participant interaction. Among the core ingredients are a chat feature, Q&A tooling, and audience reactions, as well as live streaming and video calls. If you’ve joined DjangoCon 2022 remotely, you have used it before.
Our backend is entirely implemented using django-channels. When we started taking on events with thousands of attendees, we learned a lot about the scaling properties of django-channels that we want to share with you, including
- How to load test and benchmark websocket-based applications
- How to avoid critical bottlenecks in your application
- How to scale your setup across multiple machines
- How to deploy updated software with little user interruption and without everyone reconnecting at the same time

Наука

Опубликовано:

 

7 июн 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
100❤️
00:18
Просмотров 1,7 млн
Why Does Scrum Make Programmers HATE Coding?
16:14
Просмотров 505 тыс.
Making A Billion-Year Lego Clock
13:11
Просмотров 7 млн
Django Channels & WebSockets Oversimplified
16:35
Просмотров 127 тыс.
The Evolution of Web Apps 1992-2024
14:01
Просмотров 15 тыс.
A Beginner's Guide to WebSockets
29:52
Просмотров 45 тыс.