SD Mastery
.
course
prep
arena
ask
shorts
stories
you
?
Search lessons, topics…
⌘K
?
L1
· Intern
0 / 100 xp → junior
~
course
prep
arena
ask
shorts
stories
you
Loading page…
~/himanshu
tty1
~/himanshu
$
cd ~/next-page
[ok]
resolve route
[
..
]
stream page
← all concepts
Deduplication window
.
also: dedup window · deduplication windows · idempotency TTL
How long processed IDs or idempotency keys are remembered; it must outlast every possible retry.
the two-minute refresher
Forever is too long: storage grows without bound and legitimate re-submissions are blocked.
Too short is useless: a 10 s TTL can't protect a request that times out at 30 s.
Rule of thumb from the lesson: at least 10× your maximum retry window.
Store what you need to replay: status, response, and a hash of the request.
Where the course teaches it
W02 · Day 2
Idempotency in Practice
learn it →
W02 · Day 2
Idempotency in Practice
revisit →
Related concepts
Idempotency key
TTL
Notebook
Ask