mirror of
https://github.com/tmrts/go-patterns.git
synced 2026-02-04 06:46:18 +00:00
Circuit breaker markdown
This commit is contained in:
7
stability/circuit_breaker.md
Normal file
7
stability/circuit_breaker.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Circuit Breaker Pattern
|
||||
|
||||
The [circuit breaker design pattern](https://en.wikipedia.org/wiki/Circuit_breaker_design_pattern) is used to detect failures and encapsulates logic of preventing a failure to reoccur constantly.
|
||||
|
||||
# Implementation and Example
|
||||
|
||||
An example of implementation and usage can be found in [circuitbreaker.go](circuitbreaker.go).
|
||||
Reference in New Issue
Block a user