Tech

Amazon Adds Global Cluster to DocumentDB

Amazon recently Announcing support for global clusters in DocumentDB, A document-oriented database compatible with MongoDB.

This new feature allows users to deploy clusters across multiple AWS Regions and use storage-based replication to provide disaster recovery from region-wide outages. Global clusters replicate data to up to five regions, enabling low-latency global reads. Each secondary region supports up to 16 replica instances.

Introduced by AWS in 2019, DocumentDB is a managed NoSQL database service that supports document data structures for MongoDB workloads. Global clusters are a new optional feature available in DocumentDB v4.0 that provides fast replication between regions with latency of less than 1 second. Because it relies on storage-based physical replication of data, compute instances in the primary and secondary regions do not participate in the replication process and only process application requests.

Disaster recovery from region-wide outages, low-latency global reads, scalable secondary clusters, and fast replication between clusters are the main use cases for running global clusters in Amazon DocumentDB.

Separately paper When video, Karthik Vijayraghavan, AWS Senior DocumentDB Specialist Solutions Architect shows how new features work and how they can be made more available.

A global cluster consists of a primary cluster that allows read and write operations and up to five secondary clusters in other regions that allow read operations. Replication from the primary cluster to the secondary cluster is unidirectional and you can create active-passive deployments.

Source: https: //aws.amazon.com/blogs/database/introducing-amazon-documentdb-with-mongodb-compatibility-global-clusters/

DocumentDB is not the first product in the MongoDB ecosystem to offer distributed capabilities. MongoDB Atlas Provides read-only replication, Microsoft Azure Cosmos DB Supports distributed read / write functionality. MongoDB Comparison Various MongoDB service offerings and as a site highlight Failed compatibility test.

Regardless of the new replication capabilities, some users are still seeing limited use cases for choosing DocumentDB as their AWS database. We suggest using DynamoDB instead. Adam Elmore, Cloud Technology Consultant, Tweet:

The only case for DocumentDB is an existing Mongo workload.

While Corey Quinn is commenting on the latest features of His newsletter:

This always feels like a sim on top of DynamoDB.

In between Current limits For global clusters, it is not supported for t3 and r4 instance types. Promotion of a secondary cluster in the event of a regional failover is not automatic and only the primary cluster can perform write operations. In addition, AWS CloudFormation does not support global clusters and change streams cannot be used in secondary clusters.

The· Pricing model The number of global clusters is similar to other distributed services on AWS. Customers are charged for write I / O replicated between the primary region and each secondary region, and standard DocumentDB rates apply for instances, storage, cross-region data transfer, and backup storage.



Amazon Adds Global Cluster to DocumentDB

Source link Amazon Adds Global Cluster to DocumentDB

Related Articles

Back to top button