E-Ink News Daily

Back to list

WebSockets vs. SSE should be about ordering and correctness

José Valim argues that the WebSockets vs. SSE debate should center on event ordering and correctness, not just performance. He cautions that using separate data streams can lead to out-of-order events, causing poor UX or incorrect user decisions, while attempts to fix ordering typically add client complexity or latency.

Background

José Valim is the creator of Elixir and Phoenix Framework. This article continues a discussion sparked by a Django LiveView piece and Hacker News debate about choosing between WebSockets and Server-Sent Events for real-time HTML delivery.

Source
Lobsters
Published
Aug 26, 2026 at 10:48 PM
Score
7.0 / 10