Multiple ChoiceIntermediate 45s
Idempotency store TTL
Why do idempotency-key stores typically expire keys after a bounded window (e.g. 24h)?
Options
- 1Because keys are not unique, so an unbounded store would grow without any bound at all over time
- 2Because the DB cannot store strings indefinitely, so keys must be pruned to keep the table valid
- 3To bound storage and because clients retry within a limited window; indefinite retention is unnecessary and costly
- 4To force clients to change keys periodically so that the old idempotency records are bypassed
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.