Skip to Content
Hands-On Azure for Developers
book

Hands-On Azure for Developers

by Kamil Mrzygłód
November 2018
Intermediate to advanced
606 pages
15h 7m
English
Packt Publishing
Content preview from Hands-On Azure for Developers

Consistency in Azure Cosmos DB

Besides different models of a database, Azure Cosmos DB offers also a different level of consistency. You may wonder what consistency is and how it affects your data.

We can define it as follows:

Consistency is a parameter of a database system, which reflects the way a transaction affects data. It defines the rules that are applied when different constraints or/and triggers affect data written to a database.

So basically it tells you what are the guarantees that, if your data becomes affected by a set of operations, it will not be malformed and you will be able to rely on it. The following are the available consistency models in Cosmos DB:

  • STRONG
  • BOUNDED STATELESS
  • SESSION
  • CONSISTENT PREFIX
  • EVENTUAL

In the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781789340624Supplemental Content