Lesson 3.3
Idempotency and safe retries
Any request can be delivered twice. An idempotency key lets the second delivery return the first result instead of charging the card again.
8mIntermediate8.7k students
Overview
What this lesson covers
- Make write endpoints safe to retry
- Accept and store idempotency keys
- Retry with backoff and jitter, not in lockstep
This lesson sits in API Design at Scale, part of System Design Foundations. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Make write endpoints safe to retry
- Accept and store idempotency keys
- Retry with backoff and jitter, not in lockstep
Pro Tip
Retries without jitter turn one blip into a synchronised stampede.
Your notes will live here soon.