An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.4% on proxy.golang.org

proxy.golang.org : github.com/grpc-ecosystem/go-grpc-middleware/retry

`grpc_retry` provides client-side request retry logic for gRPC. It allows for automatic retry, inside the generated gRPC code of requests based on the gRPC status of the reply. It supports unary (1:1), and server stream (1:n) requests. By default the interceptors *are disabled*, preventing accidental use of retries. You can easily override the number of retries (setting them to more than 0) with a `grpc.ClientOption`, e.g.: Other default options are: retry on `ResourceExhausted` and `Unavailable` gRPC codes, use a 50ms linear backoff with 10% jitter. For chained interceptors, the retry interceptor will call every interceptor that follows it whenever a retry happens. Please see examples for more advanced use. Simple example of using the default interceptor configuration. Example with an exponential backoff starting with 100ms. Each next interval is the previous interval multiplied by 2. Complex example with a 100ms linear backoff interval, and retry only on NotFound and Unavailable. Simple example of an idempotent `ServerStream` call, that will be retried automatically 3 times.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/grpc-ecosystem/go-grpc-middleware/retry
Keywords: authentication , generic-functions , golang , grpc , interceptor , library , logging , middleware , retries , testing
License: Apache-2.0
Latest release: 4 days ago
Namespace: github.com/grpc-ecosystem/go-grpc-middleware
Stars: 6,258 on GitHub
Forks: 690 on GitHub
Total Commits: 297
Committers: 124
Average commits per author: 2.395
Development Distribution Score (DDS): 0.758
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 4 days ago