Azure CosmoDB- Setup and Configurations

Anish Antony
9 min readJan 10
Photo by Tobias Fischer on Unsplash

1. What is Azure CosmoDB?

Azure Cosmos DB is a fully managed NoSQL and a relational database for modern app development. Azure Cosmos DB offers single-digit millisecond response times, and automatic and instant scalability, along with guaranteeing speed at any scale.

Azure Cosmos DB takes database administration off your hands with automatic management, updates, and patching. It also handles capacity management with cost-effective serverless and automatic scaling options that respond to application needs to match capacity with demand.

2. Advantage of CosmoDB

Global Distribution: Cosmos DB enables to build of highly responsive and available applications worldwide. It takes care of transparently replicating the data and making it available to the users.

High Availability: By being part of the Azure infrastructure and multi-master replication, Cosmos DB provides 99.999% high availability for both reads and writes.

Elastic scalability of throughput and storage worldwide: With the support of transparent scaling, multi-master replication, Cosmos DB provides elastic scalability for the reads and writes around the globe.

Guaranteed low latency at 99th percentile worldwide: Cosmos DB allows to build highly responsive globally distributed scalable applications. Cosmos DB provides less than 10 ms latencies for both read and writes at 99th percentile around the world.

Multiple Consistency Models: Cosmos DB provides five different consistency choices — strong, bounded staleness, session, consistent prefix, and eventual. This allows you to build low latency and high availability for your distributed application.

No Schema or index management: Keeping database schema and indexes in sync with the application schema is difficult in all applications. Cosmos DB does not deal with schema or index management. The database is schema-agnostic. This avoids the need for schema migration. Cosmos DB automatically indexes all data and serves queries fast.

Develop applications for Cosmos DB using popular NoSQL APIs: Cosmos DB allows you the choice of APIs to update and query your data stored in the Cosmos database. The default…

Anish Antony

Fullstack Developer | Blogger | Experience on Java, Python, React, Angular, Golang |