Amazon DynamoDB (50 Qs)•Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)
Provisioned vs On-Demand (Pay-Per-Request) Capacity Modes.
senior LevelSystem Design
In Simple Words:
- On-Demand Mode: Automatically handles up to double the previous peak traffic instantaneously. No capacity planning needed; you pay strictly per read/write request. Best for unpredictable or spiky workloads.
- Provisioned Mode: You allocate specific RCU and WCU with Auto-Scaling. Costs up to 7x less than On-Demand for steady, predictable production traffic.