Amazon DocumentDB Adds Global Cluster Support
Written by Kay Ewbank   
Tuesday, 08 June 2021

Amazon has added support for global clusters to its DocumentDB database. Amazon DocumentDB was created by Amazon for its internal use to be compatible with the MongoDB API without using any MongoDB code following MongoDB's move to a paid-for model.

DocumentDB lets you use MongoDB 3.6 and 4.0 application code, drivers, and tools to run, manage, and scale workloads. It can be used to store, query, and index JSON data.

docdb

In November DocumentDB was updated to provide compatibility with MongoDB 4.0, along with support for atomic, consistent, isolated, and durable (ACID) transactions. That release also added better indexing with the ability to use an index with the $lookup aggregation stage, and when carrying out find() queries with projections.

The new support for global clusters means users can deploy a cluster that spans across multiple AWS Regions, replicating data in up to five Regions with little to no impact on performance.

A global cluster consists of a primary cluster that allows read and write operations, and up to five secondary clusters in other Regions, which allow read operations. The replication from primary to secondary clusters is unidirectional and allows you to create active-passive deployment.

The global cluster support includes the ability to recover from Region-wide outages in less than 60 seconds, promoting a secondary cluster to a standalone cluster.  The local clusters also improve read latency, and provide high-speed replication across clusters through storage-based physical replication of data from the primary region to secondary clusters in other regions. The compute instances provisioned in primary and secondary Regions don’t participate in replication, which frees them up for serving application requests.

docdb

More Information

DocumentDB Webpage

Related Articles

Amazon Ditches MongoDB, Launches Rival  

MongoDB 4 Released

MongoDB 4.0 Gets Multi-Doc ACID Support

Amazon DynamoDB Accelerator Reaches Preview

Amazon Strengthens Data Offerings

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Valkey's Expanding Ecosystem
10/10/2024

Valkey, heralded as a better alternative to Redis, has taken the industry by storm. Reinforcing its superiority, a rapidly growing ecosystem is being built around it.



Spring One 2024 Sessions Now Available Online
04/10/2024

The sessions from this year's SpringOne conference covering everything and anything concerned with the Spring framework are accessible online for free.


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 08 June 2021 )