All Questions
Redis hard

Why does Redis proactively disconnect a Pub/Sub client that exhibits high 'output buffer' usage relative to its ingestion rate?

  1. A To mitigate potential SQL injection attacks that could be embedded within the malicious subscriber's metadata packets.
  2. B To prevent a slow consumer from consuming all server RAM and triggering an Out of Memory (OOM) crash.
  3. C To optimize global network bandwidth by prioritizing clients that are geographically closer to the primary data center.
  4. D It is an internal bug related to the epoch-based synchronization of secondary notification channels in Redis 5.0+.

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

Get the app

Related questions