patternMajorpendingCanonical
Circuit breaker pattern -- prevent cascade failures
Viewed 0 times
circuit breakerfail fastcascade failureresiliencehalf-open
Problem
When a downstream service fails, continuing to send requests wastes resources and cascades the failure.
Solution
Three states: CLOSED (normal), OPEN (fail fast), HALF-OPEN (test recovery). Track failure count and switch based on thresholds. Libraries: opossum (Node), resilience4j (Java).
Why
Circuit breakers give failing services recovery time by stopping request floods.
Revisions (0)
No revisions yet.