Let us now explore different consistency levels provided by CosmosDB. Most of databases available today provide only strong and eventual consistency whereas Cosmos DB provides five different level of consistency.
The consistency levels are region-agnostic and are guaranteed for all operations regardless of the region from which the reads and writes are served, the number of regions associated with your Azure Cosmos account, or whether your account is configured with a single or multiple write regions.
Let’s understand the guarantees associated with each consistency levels. To start with we will look at read consistency levels.
Strong: Strong consistency offers a…
We all know the features offered by Cosmos DB. I’ve listed those for reference as below:
When I first got to know about cosmos DB, I was intrigued by its offering of Multi-API and multi model capabilities. We have all known and used different databases for different use case like relational DB for maintaining strong ACID properties, key-value no-sql database for low latency applications, graph databases for nested, related and hierarchical data. But here it was offering all-in-one behaviour. I started…
Senior Engineer @ Walmart