API Retry Budget Calculator
Model capped exponential backoff, full jitter and timeout budgets. See how retries at multiple layers multiply downstream requests.
Scenario
Forecast
The full retry sequence can overrun the deadline.
- Worst-case duration
- 4,300 ms
- Deadline margin
- -800 ms
- Mean total wait with full jitter
- 550 ms
- Maximum downstream calls per request
- 16
Waits between attempts
- Before attempt 2: wait 0 to 200 ms.
- Before attempt 3: wait 0 to 400 ms.
- Before attempt 4: wait 0 to 500 ms.
How this is calculated
Each retry doubles the previous wait window until the cap. Full jitter picks a delay uniformly between zero and that window, so the mean wait is half its size. The deadline check reserves the full window and full timeout for each attempt. Separately, the downstream ceiling is attempts raised to the number of retrying layers.
How to use it
- Adjust attempts, timeout, and the deadline for one client layer.
- Read the forecast and compare scenarios by changing one input at a time.
Supported formats & limits
Assumes sequential attempts, each using its full timeout. The mean wait assumes uniform full jitter and every attempt reached. The call ceiling models nested retries without deadline cancellation; it is not an expected request count. Network overhead, Retry-After and SDK defaults are not included.
Data handling
Input is processed in your browser, not uploaded or included in analytics events. Copying or downloading creates a separate copy. The site can load hosting analytics; it is not an offline application.
Common questions
Can I retry writes safely?
A timeout does not prove the operation failed. Verify idempotency before retrying a write.
Documentation
- AWS: Exponential backoff and jitter (opens in a new tab)
- AWS: Timeouts and retries (opens in a new tab)