Flowcharts & Processes

Circuit Breaker State Machine Explained

Flowcharts & Algorithms diagram · made in Skemio

Flowchart showing circuit breaker state checks moving between Closed, Open, and Half-Open based on request outcomes.
Flowchart showing circuit breaker state checks moving between Closed, Open, and Half-Open based on request outcomes.

What it shows

  • Closed state handles requests normally while tracking error rate levels.
  • Open state immediately fails fast to spare degraded downstream dependencies.
  • Half-Open state sends probe requests to test whether recovery occurred.

The takeaway

Circuit breakers protect services by failing fast during outages and probing recovery before full reset.

More flowcharts & algorithms diagrams