# Patterns
All Patterns notes →05 — Backpressure
Signal from a slow consumer to a fast producer to slow down. Prevents unbounded queue growth, OOM, and cascading overload. The foundational flow-control pattern.
patterns distributed-systems resilience streaming maang-prep
Jun 30, 2026
07 — Circuit Breaker
A state machine (Closed → Open → Half-Open) that stops calls to a failing dependency before they cascade. The foundational resilience pattern for distributed systems.
patterns resilience distributed-systems maang-prep
Jun 30, 2026
08 — Retry with Exponential Backoff and Jitter
Retry transient failures with exponentially increasing wait times and randomised jitter to prevent thundering-herd recovery storms. The foundational pattern for resilient RPC.
patterns resilience distributed-systems maang-prep
Jun 30, 2026
09 — Bulkhead
Partition resources (thread pools, connection pools, semaphores) so that a failure or overload in one partition cannot exhaust resources for others. Limits blast radius.
patterns resilience distributed-systems maang-prep
Jun 30, 2026