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…

Rajneesh Prakash

Senior Engineer @ Walmart

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store