Circuit breaker

Smart component · Resilience

Closed → open → half-open state machine protecting a downstream call.

Properties

Change any of these in the properties panel and the component regenerates in place. Labels, colours and arrows you attached yourself are kept.

Properties of Circuit breaker
PropertyTypeValuesDefault
Failure thresholdnumber1 to 505
Open timeouttextfree text30s
Half-open statebooleanon or offtrue
Fallbackbooleanon or offtrue

How to use it

  1. Open the editor and press Components, then choose the Smart tab.
  2. Click Circuit breaker to place it, or drag it to an exact spot.
  3. Adjust its properties, then connect your own shapes to its ports.

Open the editor

Seen in these templates