Skip to main content
InterviewHubPRO
Section Overview
Q41

Question 41 of 50

Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)

82%
Amazon DynamoDB (50 Qs)•Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)

Partition Hotspots and Write Sharding (Key Salting).

senior LevelSystem Design

In Simple Words: A single DynamoDB physical partition can deliver at most 1,000 WCU and 3,000 RCU. If all writes target the same Partition Key (e.g. PK = "2026-11-20" or celebrity profile ID), the partition throttles (ProvisionedThroughputExceededException):

  • Write Sharding (Salting): Append a random suffix between 1 and $N$ to the partition key: PK = "EVENT#2026-11-20#" + random(1, 10) Writes scatter across 10 distinct physical partitions, multiplying throughput by 10x!