All Questions
Real Time Updates hard

Your WebSocket server crashes and restarts. 100,000 clients attempt to reconnect immediately. This DDOS-es your auth service and crashes the server again. What is the standard mitigation?

  1. A Exponential Backoff with Jitter.
  2. B Increase the server RAM.
  3. C Use UDP.
  4. D Disable authentication on reconnect.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions