Software Design

Circuit Breaker Transitions Under Load

UML Sequence Diagrams · made in Skemio

Sequence diagram showing Circuit Breaker transitioning from Closed to Open and Half-Open states.
Sequence diagram showing Circuit Breaker transitioning from Closed to Open and Half-Open states.

What it shows

  • In Closed state, requests pass through while error rates are tracked.
  • When failures cross a set threshold, the breaker Opens and fails fast.
  • The Half-Open state allows a canary request to verify service recovery.

The takeaway

Circuit breakers isolate upstream consumers from downstream cascade failures.

More uml sequence diagrams