Hot Shard
PronunciationHOT shard
Definition
A hot shard is one partition of a sharded system that receives far more traffic than the others, so it becomes the bottleneck while the rest sit idle.
Where you hear it
In database performance incidents, DynamoDB and Cassandra design reviews, and key-design discussions.
Examples
A celebrity's account became a hot shard.
Choosing the date as the partition key sends all today's writes to one hot shard.
The campaign sent all the traffic to one shard, which became the hot shard.
Common mistake
Picking a partition key with few distinct values or a skewed pattern. Choose one that spreads load evenly.
Don't confuse with
A single point of failure, where one component's failure stops everything. A hot shard is slow, not necessarily failed.
Say it at work
- In a meeting or chat
That key is hot; let's add a random suffix.
- In an email or ticket
One shard is at 90% while the others are at 10%.
Keep exploring
More in Architecture & Design