WebSockets vs. SSE should be about ordering and correctness
Summary
The article argues that event ordering and correctness are central when delivering HTML over WebSockets or SSE. It emphasizes that WebSockets' bidirectional channel can preserve ordering and reduce latency, while SSE plus Fetch can introduce data races and higher server load. It references Phoenix LiveView and Distributed Erlang as examples of achieving efficient, consistent real-time updates.