InterviewLegend

Real-Time Updates

Alex Chen25 min read

Chat apps, live feeds, notifications, collaborative documents, live scores. Many interview problems require pushing data to clients in real-time. The default model of HTTP is request-response: the client asks, the server answers. Real-time means flipping that model so the server can push data to clients the moment something happens, without waiting to be asked.

This lesson covers the three approaches to real-time communication, when to use each, how to scale persistent connections across many servers, and the fan-out and presence patterns that come up repeatedly in interviews.

What's inside
  • 1 diagram
  • 6 sections
  • about 25 min

Premium lessonSystem Design 101

Keep going with Premium.

All 31 lessons and 31 diagrams in this course, plus what 100 companies ask, pulled from 20,000+ candidate reports.

100 companies. Checked every month.

Unlock the full course

$49 a year · less than $1 a week · Cancel anytime