You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ __Stability Patterns__:
88
88
| Pattern | Description |
89
89
|:-------:| ----------- |
90
90
| TODO: [Bulkheads](stability/bulkhead.md)| Enforces a principle of failure containment (i.e. prevents cascading failures) |
91
-
|[Circuit-Breaker](stability/circuitbreaker.go)| Stops the flow of the requests when requests are likely to fail |
91
+
|[Circuit-Breaker](stability/circuit_breaker.md)| Stops the flow of the requests when requests are likely to fail |
92
92
| TODO: [Deadline](stability/deadline.md)| Allows clients to stop waiting for a response once the probability of response becomes low (e.g. after waiting 10 seconds for a page refresh)|
93
93
| TODO: [Fail-Fast](stability/fail_fast.md)| Checks the availability of required resources at the start of a request and fails if the requirements are not satisfied |
94
94
| TODO: [Handshaking](stability/handshaking.md)| Asks a component if it can take any more load, if it can't the request is declined |
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.
4
+
5
+
# Implementation and Example
6
+
7
+
An example of implementation and usage can be found in [circuitbreaker.go](circuitbreaker.go).
0 commit comments