Skip to main content
Transient failures happen. Retry strategies handle them gracefully with exponential backoff and jitter.

Basic Usage

Retry Timing

With default config:

Retry Modes

Jitter

Add randomness to prevent thundering herd:

Custom Retry Conditions

Callbacks

Circuit Breaker Integration

Combine with circuit breakers:

Best Practices

Immediate retries can overwhelm failing services.
3-5 is usually enough. More than that, the service is probably down.
Prevents all clients from retrying at the same time.
400 errors won’t succeed on retry. Only retry 5xx and network errors.