Frontend System Design: Real-Time Updates

How the browser and server keep a conversation alive — polling, long polling, SSE, and WebSockets, and when to reach for each.