All Questions
Real Time Updates medium

A server pushes stock prices at 60 messages/second. A client is on a slow 3G network and can only read 10 messages/second. What eventually happens without Backpressure?

  1. A The network automatically upgrades speed.
  2. B The server's memory buffer for that specific client connection fills up, eventually leading to an Out-of-Memory (OOM) crash or forced disconnection.
  3. C The client skips the old messages automatically.
  4. D The TCP protocol slows down the server's CPU.

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

Get the app

Related questions