Amazon DynamoDB Global Tables
Overview
Amazon DynamoDB Global Tables provides fully managed multi-region, multi-active replication across your choice of AWS regions. Any item written or updated in one replica table is automatically propagated to all other replica tables across the globe within seconds.
Replication & Consistency Mechanics
- Active-Active Operations: Applications can perform both reads and writes against local replica tables in any participating region, eliminating cross-region latency.
- Conflict Resolution: Employs a Last-Writer-Wins (LWW) timestamp strategy. In the event of simultaneous concurrent updates to the same item in different regions, DynamoDB compares the internal timestamp and selects the latest update.
- DynamoDB Streams: Multi-Region replication is built on DynamoDB Streams (
NEW_AND_OLD_IMAGES), capturing modification events in order. - Consistency Models:
- Local reads support Eventual Consistency or Strongly Consistent reads within that specific region.
- Cross-region reads are eventually consistent (typically sub-second propagation).
Exam Scenarios & Architecture Considerations (SAP-C02)
- Multi-Region Active-Active application architectures requiring local single-digit millisecond latency for global users.
- RTO and RPO near zero for global failover: if an entire AWS region becomes unavailable, traffic is rerouted instantly to healthy regions with zero manual database promotion required.
- Global secondary indexes (GSIs) must be configured symmetrically across all replica regions.