All Questions
Dynamodb hard

An item's TTL timestamp has passed, yet a `Scan` operation still returns the item 12 hours later. Is this expected behavior?

  1. A No, it indicates a bug in the DynamoDB internal scavenger service.
  2. B Yes: TTL is a 'Best Effort' background process. AWS guarantees that the item is 'eligible' for deletion after the timestamp passes, but the actual removal can take up to 48 hours depending on table traffic and system load.
  3. C No, TTL items are deleted from the disk within 5 minutes of expiration.
  4. D It means the TTL attribute was formatted as a ISO-8601 string instead of an Epoch timestamp.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions