Skip to content

Simple and naive implementation of Circuit Breaker pattern

Notifications You must be signed in to change notification settings

caiocarrara/circuit_breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circuit Breaker

The basic idea behind the circuit breaker is very simple. You wrap a protected function call in a circuit breaker object, which monitors for failures. Once the failures reach a certain threshold, the circuit breaker trips, and all further calls to the circuit breaker return with an error, without the protected call being made at all. Usually you'll also want some kind of monitor alert if the circuit breaker trips.

Source: CircuitBreaker

About

Simple and naive implementation of Circuit Breaker pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages