Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christopherdavenport/gocircuit
https://github.com/christopherdavenport/gocircuit
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/christopherdavenport/gocircuit
- Owner: ChristopherDavenport
- License: mit
- Created: 2024-06-08T17:12:18.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-08T17:31:21.000Z (5 months ago)
- Last Synced: 2024-06-19T03:11:08.911Z (5 months ago)
- Language: Go
- Homepage: https://pkg.go.dev/github.com/christopherdavenport/gocircuit
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GoCircuit
This library aims to create a generic approach to circuit breaking such that implementations can be swapped out easily. This should make it so software can not worry about the mechanics of the internals of their circuit breaker where they are leveraging it.
## Implemenations
### GoBreaker
When researching this pattern this was the standard that was communicated to me. As such this is the only in-memory implementation referenced.
### Redis
#### Realtime
This implementation evaluates off a realtime trailing window with shared state in Redis. Each evaluation of state clears elements outsides the trailing window so they are not included in the determination calculation.
### Noop
This implementation does nothing.