Discussion about this post

User's avatar
Ashwani Yadav's avatar

Que) What would happen if a single key becomes hot and receives 100x traffic ? How would DynamoDB work? 🤔

----------------------------

Ans) DynamoDB can’t split a partition based on a single key, because it splits based on key range.

Requests to the partition containing this hot key will be throttled since it can only scale to 2x at an instance. Client will possibly get "ProvisionedThroughputExceededException" error.

Expand full comment
Ashwani Yadav's avatar

Well-written article on DynamoDB capacity unit. Adding this to my notes :)

Expand full comment
1 more comment...

No posts