All Questions
Real Time Updates hard

Your WebSocket server pushes data faster than the client reads it. Eventually, the `send()` buffer fills up. How does the underlying TCP protocol handle this initially?

  1. A It drops packets.
  2. B It sends a reset packet.
  3. C It closes the socket.
  4. D The client advertises a 'Zero Window', telling the server's OS to stop sending data. The server's OS blocks the application's write calls.

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

Get the app

Related questions