SystemDesignLaws

SystemDesignLaws

Real-time Updates

- Real-time systems need two hops: server to client (WebSockets, SSE, long polling) and source to server (Pub/Su...

Jimmy Malhan's avatar
Jimmy Malhan
Mar 16, 2026
∙ Paid

30-second elevator pitch: "Real-time updates require efficient push channels. I choose based on latency needs: polling for 2-5 second updates, long polling or SSE for near real-time, WebSockets when I need bidirectional low latency. The second hop is Pub/Sub or consistent hashing to fan out updates from the source to servers."

The Problem

Consider a colla…

User's avatar

Continue reading this post for free, courtesy of Jimmy Malhan.

Or purchase a paid subscription.
© 2026 Jimmy Malhan · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture