hot partition
A partition that gets far more traffic than the others because many requests use the same key, causing throttling even when total capacity is free.
In more detail
A hot key shows the partition key does not spread the real workload. Fix it by choosing a higher-cardinality key or adding a suffix to spread writes.
Related terms
- partition key — The DynamoDB attribute whose value decides which storage partition an item lives in, and which every query must name.
- throttling — A service refusing or delaying requests because a rate or concurrency limit has been reached.
- Amazon DynamoDB — Amazon's fully managed key-value and document database, which stores items in tables without any servers for you to run.
- hot key — A single key that receives a large share of all traffic, such as a celebrity account or a popular event.
- skew — An uneven spread of data or traffic across partitions, so some do far more work than others.
Taught in
- The Performance Clinic: Five Slow Systems, Five Fixes — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- NoSQL and DynamoDB — Cloud Infrastructure & Hyperscaler Architecture
- Partitioning, Sharding And Hot Keys — Scalable System Design & Distributed Architecture
- Worked Design One: Scaling The Ticket Booking System — Scalable System Design & Distributed Architecture
- Worked Design Two: Scaling Chat Fan Out — Scalable System Design & Distributed Architecture
- Worked Design Three: Scaling The Metrics Pipeline — Scalable System Design & Distributed Architecture
References
- Designing partition keys to distribute your workload
- Amazon DynamoDB: Designing partition keys to distribute your workload
- Azure Architecture Center: Data partitioning guidance