Pages

2014-01-09

Circuit Breaker on consecutive failures

Remember to read the intro.

After seeing X failure sin a row this type of circuit breaker will go into the FAILING state and stay there for a period of time before it transitions into the RECOVERING state. In the RECOVERING state single requests will be allowed through and the breaker will transition into the OK state after Y consecutive successful requests. Optionally it can transition into the FAILING state if errors are encountered during the RECOVERING state.

This type of circuit breaker is typically very accurate at identifying complete outages of a dependent resource without false positives. This is also a very simple circuit breaker to implement.

No comments:

Post a Comment