Amazon DynamoDB (50 Qs)•Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)
How does DynamoDB prevent Split-Brain during internal node failures?
senior LevelSystem DesignDynamoDB
In Simple Words: DynamoDB uses the Paxos consensus protocol within each three-replica storage group:
- A write must achieve a quorum acknowledgment (at least 2 out of 3 replicas) to be confirmed.
- If one replica goes offline, the remaining two maintain quorum.
- A leader lease timeout ensures only one active leader processes writes, eliminating split-brain anomalies.