Relationship · Mitigates
Source: Pattern·Target: Failure Mode
Summary
Backpressure prevents queue backlog accumulation by signaling producers to slow or pause ingestion when the consumer is approaching capacity, ensuring the queue depth stays bounded rather than growing without limit.
Evidence
- ·Reactive Streams specification defines backpressure as the primary mechanism for preventing buffer overflow
- ·Kafka consumer pause/resume implements backpressure to prevent consumer OOM under sustained overproduction
Operational Context
- ·Set backpressure threshold at 70-80% capacity to leave headroom before overflow
- ·Monitor backpressure events as leading indicators of under-provisioned consumers
Tradeoffs
- ·Backpressure reduces throughput at the producer during capacity pressure; some use cases require drop instead of block
Evidence grounding
Grounded, 2 supporting itemsBackpressure is the canonical flow control mechanism that directly prevents queue overflow