# Retry with Backoff

> Enable applications to handle temporary failures by retrying with increasing delays

- **Category**: Cloud
- **Subcategory**: aws
- **Canonical URL**: https://designpattern.fyi/patterns/aws_retry_backoff/

---

## Description
The Retry with Backoff pattern enables applications to handle anticipated temporary failures by retrying failed operations with increasing delays between attempts. This reduces load on the failing service while providing time for recovery. Exponential backoff is commonly used to increase the delay exponentially with each retry attempt.


## Use Cases
Use when calling remote services that may experience temporary failures or when you need to handle transient network issues gracefully.





## Trade-offs


### Advantages

- Handles transient failures automatically

- Reduces immediate load on failing services

- Simple to implement

- Improves overall reliability




### Considerations & Drawbacks

- Can delay failure detection

- Requires timeout configuration

- May cause resource exhaustion with long outages







---
**Reference**: [Original Source](https://docs.aws.amazon.com/prescriptive-guidance/latest/cloud-design-patterns/retry-backoff.html)

