How does the "Consistency Level" affect the availability of data in Cosmos DB?
Muhammad Imran Ansari
Select an image from your device to upload
In Azure Cosmos DB, the “Consistency Level” impacts data availability as follows:Strong: Highest consistency, but can reduce availability during partitions.Bounded Staleness: Balances consistency and availability with some allowed lag.Session: Provides strong consistency for individual sessions, maintaining good availability.Consistent Prefix: Ensures order of writes but allows for higher availability.Eventual: Highest availability and performance, but data may be stale.