Amazon DynamoDB (50 Qs)•Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)
Calculating Capacity Units: RCU and WCU Math.
senior LevelSystem Design
In Simple Words:
- WCU (Write Capacity Unit): 1 WCU handles 1 write per second for an item up to 1 KB in size.
- RCU (Read Capacity Unit):
- Eventually Consistent Read: 1 RCU reads two items per second up to 4 KB each (0.5 RCU per 4KB).
- Strongly Consistent Read: 1 RCU reads one item per second up to 4 KB.
- Transactional Read / Write: Consumes 2x capacity (2 RCU per 4KB read, 2 WCU per 1KB write).