Skip to main content
InterviewHubPRO
Section Overview
Q29

Question 29 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

58%
SRE & Observability (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

What is Backpressure and how does it prevent buffer overflow?

senior Levelsre-observabilityAdvanced Internals

In Simple Words: When a fast data producer sends data faster than a slow consumer can process it:

  • Without backpressure: In-memory buffers fill up, resulting in Out-Of-Memory crashes.
  • Backpressure: The consumer signals the producer to slow down or halt transmission (e.g. TCP sliding window, reactive streams, pausing Kafka consumer partitions).