Design patterns
operationsrelease
Circuit Breaker
Circuit breakers exists to allow one subsystem to fail without destroying the entire system. This is done by wrapping dangerous operations (typically integration points) with a component that can circumvent calls when the system is not healthy.
Michael Nygard, Release It!, as quoted in the PyBreaker README.