Amazon DynamoDB (50 Qs)•Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)
How do DynamoDB Global Tables work and how do they resolve conflict?
senior LevelSystem DesignDynamoDBBehavioral
In Simple Words: Global Tables provide multi-region, multi-master replication with 99.999% availability:
- Writes to any replica region are replicated asynchronously within ~1 second to all other regions.
- Conflict Resolution: Uses Last Writer Wins (LWW) based on an internal system timestamp. If two concurrent writes touch the same item in different regions, the write with the higher timestamp prevails.