Amazon DynamoDB global tables
Why Amazon DynamoDB global tables?
Amazon DynamoDB global tables is a fully managed, serverless, multi-Region, and multi-active database. Global tables provide you 99.999% availability, increased application resiliency, and improved business continuity. As global tables replicate your Amazon DynamoDB tables automatically across your choice of AWS Regions, you can achieve fast, local read and write performance.
In the rare event of a single Region failure, there is no need for a database failover as global tables’ multi-active architecture allows customers to read and write to any replica table. Global tables also eliminate the difficult work of replicating data between Regions and resolving update conflicts for multi-active workloads. In addition, global tables enable your applications to stay highly available even in the rare event of isolation or degradation of an entire Region.
You can configure global tables in the AWS Management Console with the AWS Command Line Interface (AWS CLI) or with AWS CloudFormation. No application changes are required when reading or writing to a global table as global tables use the same DynamoDB APIs as single-Region tables.
There are no upfront costs or commitments to use global tables, and you pay only for the resources you use. Learn more about configuring global tables in the Amazon DynamoDB Developer Guide. For more information about global tables pricing, see Amazon DynamoDB pricing options for on-demand and provisioned.
How it works
A DynamoDB global table is comprised of multiple replica tables. Each replica table exists in a different Region, but all replicas have the same name and primary key. When data is written to any replica table, DynamoDB automatically replicates that data to all other replica tables in the global table .
For example, suppose that your application serves a large customer base spread across three geographic areas—the US East Coast, Canada, and Western Europe. Without global tables, you would have to create a table in each AWS Region and write code to replicate data changes across each table in each Region.
With global tables, you can create a global table with a replica table in the three Regions closest to each geographic area. DynamoDB will automatically replicate changes from any replica to the replicas in the other Regions.
Global tables enable the users of your application to have low-latency access to the data no matter where they are located. In the unlikely event that one AWS Region were to become temporarily unavailable, your customers can still access the replica tables in the other Regions.
Benefits of Amazon DynamoDB global table
-
Zoom
-
Disney
Disney+ uses Amazon DynamoDB to ingest content, metadata, and billions of customer actions each day, which enables viewers to add content to their Watch Lists, start watching a video and pick it up on a different device, and get recommendations for what to watch next.
-
Snap Inc.
Snap Inc. saved significantly on annual infrastructure costs and enabled a fast, reliable infrastructure for multimedia messaging app Snapchat by using Amazon DynamoDB.