Dropbox logoDropbox
System DesignMembers

Real-Time Change Notifications: Long-Polling Client and WebSocket Migration

Members only

A two-part question on pushing file-change notifications to desktop and mobile sync clients. You first write working server and client code for the notification channel, then defend a migration of the whole pipeline to persistent connections at hundreds of millions of clients. The tricky parts are subtle client retry semantics and surviving restarts without losing events.

SWE
system-design
notification
websocket
http
concurrency
threading
retry
distributed-systems
networking
scaling
sharding
Frequency
Single report
Last asked
—
Stage
onsite-system-design

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 5 common pitfalls
  • 6 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...