# Retry

> Enable applications to handle anticipated temporary failures by retrying

- **Category**: Cloud
- **Subcategory**: azure
- **Canonical URL**: https://designpattern.fyi/patterns/azure_retry/

---

## Description
The Retry pattern enables applications to handle anticipated temporary failures by retrying failed operations. By transiently retrying operations that may fail due to temporary conditions, applications can improve overall reliability. Retry policies should be carefully designed to avoid making problems worse.


## 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

- Simple to implement

- Improves overall reliability

- No significant architecture changes




### Considerations & Drawbacks

- Can make problems worse with excessive retries

- Requires timeout configuration

- May cause resource exhaustion







---
**Reference**: [Original Source](https://learn.microsoft.com/en-us/azure/architecture/patterns/retry)

