sagelearnai

Pattern: Real-Time Updates

Chat, live scores, collaborative editing, ride tracking, auctions and notifications all need the server to push updates to clients within a second. The pattern has two halves: getting updates from the server to the client, and getting updates from wherever they happen to the right server.

In this lesson

  • Learning objectives
  • Server to client: the options
  • Source to server: pub/sub
  • Scaling connection servers
  • Self-check

Questions covered

  1. How do you deliver real-time updates to millions of connected users?
  2. When is polling better than WebSockets?

This lesson is part of System Design Interview: Concepts, Patterns & Real Designs. Unlock the full course to read it, take the quiz and track your progress.

See plans →

Last reviewed 2026-11-05.