# rholder/guava-retrying

This is a small extension to Google's Guava library to allow for the creation of configurable retrying strategies for an arbitrary function call, such as something that talks to a remote service with flaky uptime.

Repository: https://github.com/rholder/guava-retrying
Canonical: https://ross.abutalabs.com/products/guava-retrying
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2023-03-28T11:48:46+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5120, "days_push": 1254, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1463, forks 271 (observed 2026-08-28T04:04:47.764436+00:00)

## What it is
A small Java library extending Google Guava that provides configurable retrying strategies for arbitrary function calls via a RetryerBuilder DSL. It supports retry conditions based on results or exceptions, stop strategies, and exponential or Fibonacci backoff wait strategies.

## Use cases
- retry flaky remote service calls in Java
- add exponential backoff to API requests
- retry a callable until it succeeds or attempts run out
- retry only on specific exception types
- implement well-behaved service polling with backoff
- wrap unreliable network operations with configurable retries

## When to choose
- you're on the JVM and already use Guava
- you need fine-grained control over retry conditions, stop rules, and wait strategies
- you want a lightweight, focused retry library without pulling in a full resilience framework

## When to avoid
- you need circuit breaking, rate limiting, or bulkheading alongside retries (consider Resilience4j)
- you're not using Java/JVM languages
- you need a library under active development with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: error-handling, concurrency, developer-tools
- domain: developer-tools, backend, microservices
- platform: jvm
- tags: retry, retryer, guava, backoff, resilience, java-library

## Member repositories
- rholder/guava-retrying (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.764436+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:14.708754+00:00, confidence not recorded.
  - readme: https://github.com/rholder/guava-retrying (fetched 2026-08-28T04:04:47.764436+00:00, sha a590105afa3c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
