SystemDesign Pro
ProjectsPathsKnowledgebaseAbout
PrivacyTermsRefundsCookiesContact
© 2026 SystemDesign Pro. All rights reserved.
reliabilitystreamingload-managementlatency

Backpressure

Control producer rate based on downstream capacity to avoid queue explosions and cascading failures.

Definition

Backpressure mechanisms slow, shed, or buffer incoming work when consumers cannot keep up.

When To Use
  • Streaming pipelines with bursty ingress and bounded consumer capacity.
  • Realtime systems where queue growth directly affects user latency.
  • Any multi-stage architecture with potential stage imbalance.
When Not To Use
  • Tiny systems with constant low utilization and no burst risk.
  • Without clear overload policy (drop, delay, degrade).
  • When producer throttling cannot be enforced by protocol.
Tradeoffs
  • Prevents collapse under load, but may reject or delay user requests.
  • Stabilizes latency, while reducing peak throughput temporarily.
  • Improves reliability, with complexity in signaling across service boundaries.
Common Failure Modes
  • Missing backpressure causes unbounded queue growth and OOM.
  • Over-aggressive throttling underutilizes healthy capacity.
  • No prioritization starves critical traffic during overload.
Interview Framing
Use this structure when the interviewer asks for this pattern explicitly.

Describe overload policy tiers, queue depth SLOs, and how producers learn downstream saturation.

Related Project Deep Dives

Serverless Event Router with Dead-Letter Intelligence
Design a serverless event routing system using AWS EventBridge patterns with content-based routing, intelligent retry strategies, dead-letter queue analytics, and poison pill handling for mission-critical event-driven architectures.
beginnerPremium
Real-Time Chat & Messaging System
Design a globally distributed chat platform with low-latency delivery, offline sync, read receipts, media attachments, and strong consistency guarantees for message ordering.
advancedPremium
High-Cardinality Metrics Storage System
Design a metrics platform that handles high-cardinality labels with fast query performance.
intermediatePremium

Related Concepts

Dead-Letter Queue (DLQ)
Isolate repeatedly failing messages for triage without blocking healthy traffic.
Token Bucket Rate Limiting
Allow controlled burst traffic while enforcing long-term request rate limits.
Circuit Breaker
Protect services from cascading failures by short-circuiting calls to unhealthy dependencies.