Amazon DynamoDB (50 Qs)•Part 2: Intermediate Data Modeling & API Operations (Mid-Level)
What are Hot Partitions in DynamoDB and how do you prevent them?
junior LevelDynamoDBHTTP & REST APIs
In Simple Words: A hot partition occurs when read or write traffic is disproportionately concentrated on a single partition key value. Each partition has a physical limit of 1,000 WCU and 3,000 RCU:
- Causes: Keys with high skew (e.g.
status = "ACTIVE", or today's date2026-03-15). - Remedies:
- Write Sharding (Salting): Append a random suffix (e.g.
EVENT#2026-03-15#+ random integer 1..10) to distribute writes evenly across 10 partitions. - DynamoDB Accelerator (DAX): Cache read-heavy hot keys in-memory.
- Write Sharding (Salting): Append a random suffix (e.g.