gobreaker | examples | |
---|---|---|
4 | 3 | |
2,762 | 314 | |
0.9% | 0.6% | |
4.1 | 6.7 | |
2 days ago | about 1 month ago | |
Go | Go | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gobreaker
Posts with mentions or reviews of gobreaker.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-21.
-
Choosing dependencies using deps.dev
sony/gobreaker
-
gobreaker VS hystrix-go - a user suggested alternative
2 projects | 4 May 2022
-
how to use a circuit breaker on Kubernetes
As far as I know most circuit breakers are not a stand alone process, but either part of a service mesh like istio https://istio.io/latest/docs/tasks/traffic-management/circuit-breaking/ or part of the service. Spring for example has an abstraction called Spring Cloud Circuit breaker https://spring.io/projects/spring-cloud-circuitbreaker . There are several implementations in Go, e.g. https://github.com/sony/gobreaker or https://github.com/mercari/go-circuitbreaker
-
CircuitBreaker Pattern in Go
GitHub - sony/gobreaker: Circuit Breaker implemented in Go
examples
Posts with mentions or reviews of examples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-08.
-
How to implement a retry mechanism for goroutines?
The book "Cloud Native Go" does it like this: https://github.com/cloud-native-go/examples/blob/b7a623e9a45d8ca71979eee220d43503588565fb/ch04/retry.go
-
how to use a circuit breaker on Kubernetes
The book Cloud Native Go https://www.oreilly.com/library/view/cloud-native-go/9781492076322/ also has an implementation in it. Here you can find the code https://github.com/cloud-native-go/examples/tree/main/ch04
-
Opinions/Thoughts on Distributed Services with Go?
I haven’t read the book you mentioned, but I did just get Cloud Native Go and am loving it so far. It sounds like Cloud Native Go might be what you’re after because it includes actual patterns for handling things like retries and backoff, but also goes into using tools like Docker and gRPC and how to architect your services. I’m only on chapter 4 so far, but I’ve already learned a bunch of practical things that I feel good about recommending it already.
What are some alternatives?
When comparing gobreaker and examples you can also consider the following projects:
hystrix-go - Netflix's Hystrix latency and fault tolerance library, for Go
go-circuitbreaker - A context aware circuit breaker library in Go.
go-zero - A cloud-native Go microservices framework with cli tool for productivity.
try - Simple idiomatic retry package for Go
traefik - The Cloud Native Application Proxy
heimdall - An enhanced HTTP client for Go
istio - Connect, secure, control, and observe services.
circuitbreaker - Circuit Breakers in Go
go-formatter - A curated list of awesome Go frameworks, libraries and software