Our great sponsors
-
Centrifugo
Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.
-
centrifuge-dart
Dart (Flutter) client SDK for bidirectional communication with Centrifugo and Centrifuge-based server over WebSocket
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Install Centrifugo - https://github.com/centrifugal/centrifugo
Connect to it using https://github.com/centrifugal/centrifuge-dart or without any connector library using unidirectional transports: https://centrifugal.dev/docs/transports/overview#unidirectional. For authentication you can pass JWT issued by your Django backend or proxy connection attempt to Django backend ( like shown in this post https://centrifugal.dev/blog/2021/11/04/integrating-with-django-building-chat-application )
Related posts
- WebSockets vs. Server-Sent-Events vs. Long-Polling vs. WebRTC vs. WebTransport
- Centrifugo v5.1.0 released, with new powers for real-time messaging tasks, now with proxy GRPC subscription streams – similar to WebSocketd but over the network
- Integrating websockets into my current app
- Millions of Active WebSockets with Node.js
- Is Python a good option to implement Websockets?