When you use distributed databases that rely on high availability and low latency, you can choose between two different extreme consistency models: strong consistency and eventual consistency. The former is the standard of data programmability, but this will result in reduced availability during failures and higher latency. The latter offers higher availability and better performance, but makes it much harder to program applications.
Azure Cosmos DB offers more choices between the two extreme consistency models. Strong consistency and eventual consistency are at the ends of the spectrum. This can help developers to make a more precise choice with respect to high availability and performance. Azure Cosmos DB offers five consistency models, including strong, bounded staleness, session, consistent prefix, and eventual consistency:
- Strong: Strong consistency is the easiest model to understand. The most recent committed version of an...