Stability
8 pages
-
Backpressure
concept
Flow-control mechanism: downstream signals upstream to slow producers rather than overwhelm consumers; bounded queues vs unbounded; backpressure vs load shedding (internal vs boundary); credit-based flow control; pull-based streams; anti-patterns (unbounded queues, retries defeating backpressure)
-
Bulkhead Pattern
pattern
Resource partitioning, shuffle sharding, cellular architecture
-
Circuit Breaker
pattern
Closed/open/half-open state machine for downstream resiliency
-
Release It! Design and Deploy Production-Ready Software
source
*Release It! Design and Deploy Production-Ready Software* — Michael Nygard
-
Retry
pattern
Transient failure recovery; exponential backoff with jitter; retry amplification in chains; idempotency prerequisite; retry queues
-
Stability Pattern Selection
comparison
Which stability pattern when; selection decision tree (outgoing call, incoming request, internal pipeline, system edge, automation, resource pooling); pattern × antipattern matrix; composition order (timeout first, then bulkhead, then breaker, then retry, etc.); anti-patterns of pattern composition
-
Stability Patterns
concept
Coherent navigation hub for Nygard's stability pattern set; failure-arresting (timeout/circuit-breaker/bulkhead), load-handling (shed load/backpressure/handshaking), defensive (fail fast/let it crash/steady state/retry), and architectural (decoupling middleware/test harnesses/governor); pattern composition; antipatterns they defend against
-
Timeout
pattern
Bounding wait time on every blocking call; sizing by P99.9; absent-timeout gotchas; relationship to circuit breaker and retry