ReviseAlgo Logo

Chapter III: Architecture & Communication

Long Polling, WebSockets, SSE

Techniques for real-time, push-style communication over HTTP.

In short

Three ways to push real-time updates: long polling, WebSockets (bidirectional), and SSE (server→client).

Loading diagram…

Key takeaways

  • WebSockets = bidirectional; SSE = server→client only.
  • Long polling is the simplest, most compatible fallback.