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.
If your application processing is interrupted in one Region, 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 remove the difficult work of replicating data between Regions and resolving update conflicts for multi-Region workloads.
For multi-Region workloads, you can now choose between strong consistencyNEW (preview) or eventual consistency. Strong consistency allows you to build applications with a recovery point objective of zero, also known as zero RPO. It also ensures that your application is always reading the latest data.
Getting started with global tables is an easy process, as it uses 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. You can configure global tables in the AWS Management Console with the AWS Command Line Interface (AWS CLI) or with AWS CloudFormation, and you can learn more in the Amazon DynamoDB Developer Guide. For 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 need 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 allows users of your application to have low-latency access to the data no matter where they are located. If your application processing is interrupted in one Region, 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.