Closed alielmorsy closed 4 months ago
Both Django EventStream (using Server-Sent Events) and Channels (for WebSockets) are viable options for implementing real-time communication in your Django application.
Django EventStream (Server-Sent Events):
Pros:
Cons:
Channels (WebSockets):
Pros:
Cons:
Here is a video that explains it as well: Don't Use Websockets (Until You Try This…)
This looks answered so I'm closing. Thanks zesameri.
I saw this library on Git Hub while searching and I got surprised by how it works. So what is the difference between it and WebSockets?