https://github.com/failsafe-lib/failsafe
Fault tolerance and resilience patterns for the JVM
https://github.com/failsafe-lib/failsafe
bulkhead circuit-breaker fallback java rate-limiter resilience resiliency-patterns retry timeout
Last synced: 7 days ago
JSON representation
Fault tolerance and resilience patterns for the JVM
- Host: GitHub
- URL: https://github.com/failsafe-lib/failsafe
- Owner: failsafe-lib
- License: apache-2.0
- Created: 2015-06-30T00:56:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-09T20:41:39.000Z (10 months ago)
- Last Synced: 2025-04-01T06:32:14.429Z (14 days ago)
- Topics: bulkhead, circuit-breaker, fallback, java, rate-limiter, resilience, resiliency-patterns, retry, timeout
- Language: Java
- Homepage: https://failsafe.dev
- Size: 1.54 MB
- Stars: 4,242
- Watchers: 95
- Forks: 301
- Open Issues: 73
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - failsafe-lib/failsafe - Fault tolerance and resilience patterns for the JVM (Java)
- awesome-github-repos - failsafe-lib/failsafe - Fault tolerance and resilience patterns for the JVM (Java)
README
# Failsafe
[](https://github.com/failsafe-lib/failsafe/actions)
[](https://maven-badges.herokuapp.com/maven-central/dev.failsafe/failsafe)
[](http://www.apache.org/licenses/LICENSE-2.0.html)
[](https://failsafe-lib.slack.com)
[](https://failsafe.dev/javadoc/core)Failsafe is a lightweight, zero-dependency library for handling failures in Java 8+, with a concise API for handling everyday use cases and the flexibility to handle everything else. It works by wrapping executable logic with one or more resilience policies, which can be combined and composed as needed.
Policies include [Retry](https://failsafe.dev/retry/), [CircuitBreaker](https://failsafe.dev/circuit-breaker/), [RateLimiter](https://failsafe.dev/rate-limiter/), [Timeout](https://failsafe.dev/timeout/), [Bulkhead](https://failsafe.dev/bulkhead/), and [Fallback](https://failsafe.dev/fallback/). Additional modules include [OkHttp](https://failsafe.dev/okhttp/) and [Retrofit](https://failsafe.dev/retrofit/).
## Usage
Visit [failsafe.dev](https://failsafe.dev) for usage info, docs, and additional resources.
## Contributing
Check out the [contributing guidelines](https://github.com/failsafe-lib/failsafe/blob/master/CONTRIBUTING.md).
## License
Copyright Jonathan Halterman and friends. Released under the [Apache 2.0 license](https://github.com/failsafe-lib/failsafe/blob/master/LICENSE).