failsafe-lib/failsafe
Fault tolerance and resilience patterns for the JVM
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
Failsafe
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, CircuitBreaker, RateLimiter, Timeout, Bulkhead, and Fallback. Additional modules include OkHttp and Retrofit.
Usage
Visit failsafe.dev for usage info, docs, and additional resources.
Contributing
Check out the contributing guidelines.
License
Copyright Jonathan Halterman and friends. Released under the Apache 2.0 license.
Similar Projects
Discover other similar projects and AI models.
Resilience4j is a fault tolerance library designed for Java8 and functional programming
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
🛡️ A module for improving the reliability and fault-tolerance of your NestJS applications
A data-driven, functionally-oriented, idiomatic Clojure library for circuit breakers, bulkheads, retries, rate limiters, timeouts, etc.
Unified resilience patterns for Python — retry, circuit breaker, timeout, fallback, bulkhead, rate limiter, and cache in one decorator. Python's Resilience4j.