SpinTheMic
Pro

Interview practice question

Time-series data in DynamoDB

Backend Engineering · NoSQL and Redis · Experienced

How would you store IoT sensor readings in DynamoDB, supporting "readings for device X in a time range" and cheap retention?

What a strong answer covers

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

  • PK: device_id (+ time bucket), SK: timestamp.
  • Query by range on SK.
  • Bucket by day to bound partitions.
  • TTL for retention.
  • Or table per period for cost tiers.
Practise this topic

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

See all topics