Retries, deadlines and hedging
A payment call times out. Retrying might fix it, or charge the customer twice, or pile more load onto a service that's already drowning. Retries are the most common reliability tool and a common cause of outages. When should you retry, and how?
In this lesson you'll learn to
- Decide which failures are worth retrying, and make retried calls safe with idempotency.
- Prevent retry amplification by retrying at one layer, with backoff, jitter and a retry budget.
- Set and propagate deadlines so no one keeps working on an answer nobody will use.
- Use hedged requests to cut tail latency, and know their cost.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.