failsafe-lib/failsafe
Fault tolerance and resilience patterns for the JVM observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 59
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4083
- days_rel: n/a
- days_push: 249
- n_releases_24m: 0
Adoption not part of the score
4309 stars · 312 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Failsafe is a lightweight, zero-dependency Java library for fault tolerance, wrapping executable logic with composable resilience policies such as Retry, CircuitBreaker, RateLimiter, Timeout, Bulkhead, and Fallback. It supports synchronous and asynchronous execution and integrates with libraries like OkHttp, Retrofit, Netty, RxJava, and Vert.x.
Use cases
- retry failed network calls with backoff
- add a circuit breaker around flaky remote services
- rate limit outgoing requests to an API
- apply timeouts to slow operations
- limit concurrent executions with a bulkhead
- fall back to a backup connection on failure
- compose multiple resilience policies around one call
When to choose
- you need zero-dependency fault tolerance on Java 8+
- you want to combine retry, circuit breaker, timeout, and rate limiting in one executor
- you need both sync and async execution with CompletableFuture support
- you use OkHttp, Retrofit, Netty, or reactive libraries and want resilience integration
When to avoid
- you are not on the JVM
- you want annotation-based resilience like Spring Retry or Resilience4j annotations
- you need resilience for reactive streams only with no imperative API
Facets
library · maturity active
rate-limiting error-handling concurrency http-client developer-tools backend microservices performance jvm cross-platform retry circuit-breaker resilience-patterns fault-tolerance timeout bulkhead fallback zero-dependency
5 sources
- readme: https://github.com/failsafe-lib/failsafe · fetched 2026-08-28 · f4206963f2ac
- homepage: https://failsafe.dev · fetched 2026-08-29 · ad4b8849ea84
- site_page: https://failsafe.dev/javadoc/core · fetched 2026-08-29 · add41a696dc5
- site_page: https://failsafe.dev/faqs · fetched 2026-08-29 · 628fb0d9da5e
- site_page: https://failsafe.dev/example-integrations · fetched 2026-08-29 · 71145ecf9491
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| failsafe-lib/failsafe | main | 59 |
For agents
markdown · JSON · MCP: product_card(name="failsafe-lib/failsafe")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem