Ecosyste.ms: Packages

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

Top 2.5% on proxy.golang.org
Top 0.9% dependent packages on proxy.golang.org
Top 1.4% dependent repos on proxy.golang.org
Top 5.0% forks on proxy.golang.org
Top 1.1% docker downloads on proxy.golang.org

proxy.golang.org : github.com/slok/goresilience

Package goresilience is a framework/lirbary of utilities to improve the resilience of programs easily. The library is based on `goresilience.Runner` interface, this runners can be chained using the decorator pattern (like std library `http.Handler` interface). This makes the library being extensible, flexible and clean to use. The runners can be chained like if they were middlewares that could act on all the execution process of the `goresilience.Func`. Will use a single runner, the retry with the default settings this will make the `gorunner.Func` to be executed and retried N times if it fails. Will use more than one `goresilience.Runner` and chain them to create a very resilient execution of the `goresilience.Func`. In this case we will create a runner that retries and also times out. And we will configure the timeout. Will measure all the execution through the runners uwing prometheus metrics. Is an example to show that when the result is not needed we don't need to use and inline function. Is an example to show that we could use objects aslo to pass parameter and get our results.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/slok/goresilience
Keywords: circuitbreaker, distributed-systems, framework, golang, high-scale, library, resilience, timeout, toolkit
License: Apache-2.0
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/slok
Dependent packages: 32
Dependent repositories: 15
Stars: 145 on GitHub
Forks: 19 on GitHub
Docker dependents: 43
Docker downloads: 9,065,360
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...