Realtime in Django: Websockets, SSE, Polling


Work in progress. To receive updates subscribe to this discussion or follow me on x or mastodon.

Usually when someone use the term realtime in web development, they mean websocket but websocket is not the simplest realtime technology out there so it will be our last resort.

Polling and long polling

Server sent events

SSE back and forth with htmx

Websocket with channels