DynamoDB is a NoSQL AWS managed serverless database that scales.
Global Tables
- Eventual consistency
- Global tables replicate your DynamoDB tables automatically across your choice of AWS Regions
- Replication lag is under 1 second
- To help ensure eventual consistency, DynamoDB global tables use a last-writer-wins reconciliation between concurrent updates, in which DynamoDB makes a best effort to determine the last writer. With this conflict resolution mechanism, all replicas agree on the latest update and converge toward a state in which they all have identical data
Transactions
- AWS DynamoDB Transactions Doc
- Strong consistency (read after write)
- Transactions provide atomicity, consistency, isolation, and durability (ACID) in DynamoDB, helping you to maintain data correctness in your applications.
- Not available for Global Tables
Strong consistency (read after write) Approach
- Use a master region