All Questions
Real Time Updates easy

Why is scaling a WebSocket server generally harder than scaling a standard REST API server?

  1. A WebSockets are stateful; the server must maintain an active memory footprint for every connected user (Open TCP connections).
  2. B WebSockets use more bandwidth per message.
  3. C Load Balancers cannot handle WebSockets.
  4. D REST APIs don't use TCP.

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

Get the app

Related questions