All Questions
Real Time Updates hard

You deploy a WebSocket server behind Nginx. Connections work, but messages are delayed and arrive in chunks. What Nginx setting is likely the culprit?

  1. A Proxy Buffering is enabled. Nginx waits to fill a buffer (e.g., 4KB) before sending it to the client. WebSockets require `proxy_buffering off;` to stream real-time frames.
  2. B Gzip compression.
  3. C SSL Handshake time.
  4. D Worker connections limit.

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

Get the app

Related questions