try | examples | |
---|---|---|
1 | 3 | |
336 | 314 | |
- | 0.6% | |
0.0 | 6.7 | |
about 2 years 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.
try
Posts with mentions or reviews of try.
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?
i use https://github.com/matryer/try for retries
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 try and examples you can also consider the following projects:
backoff - ⏱ The exponential backoff algorithm in Go
gobreaker - Circuit Breaker implemented in Go
httpretry - Enriches the standard go http client with retry functionality.
go-circuitbreaker - A context aware circuit breaker library in Go.