All challenges
Multiple ChoiceIntermediate 45s

Idempotency store TTL

Why do idempotency-key stores typically expire keys after a bounded window (e.g. 24h)?
Options
  1. 1Because keys are not unique, so an unbounded store would grow without any bound at all over time
  2. 2Because the DB cannot store strings indefinitely, so keys must be pruned to keep the table valid
  3. 3To bound storage and because clients retry within a limited window; indefinite retention is unnecessary and costly
  4. 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.

Play this in a 3-minute battle