Exploring AWS !!
Day 78
Amazon DocumentDB
Amazon DocumentDB (with MongoDB Capability) is fast, scalable, highly available database service supporting MongoDB workloads. It makes easy for us to store and index JSON data.
This is a non-relational database service designed from basic to give you better performance and scalability when operating critical MongoDB workloads at scale. In DocumentDB, storage and compute are decoupled, allowing to scale independently. The read capacity to millions of request per second can be increased by adding upto 15 low latency read replicas.
We can use same drivers, same code and same tool those you use with MongoDB.
When using DocumentDB, we start by creating clusters. A cluster contains instances and volumes to manage the storage for that instance.
The cluster consists of 2 components:
Cluster volumes: DocumentDB has one cluster storage volume, storing 128 TB of data.
Instances: It can contains 0–16 instances.
DocumentDB provides multiple connection options, and to connect with the instance we specify the instance’s endpoint. An endpoint is a host address and a port number, separated by a colon.