SpinTheMic
Pro

Interview practice question

Dedup table grows too large

System Design · Messaging and Queues · Experienced

Your consumers store every processed message ID forever for deduplication, and the table now has 20 billion rows. How do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Dedup only needs a bounded window.
  • TTL or partition by time and drop old.
  • Redelivery window is limited.
  • Use natural idempotency where possible.
  • Bloom filter or compact store.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics