Section 3 - Consistency Flashcards

1
Q

Define Consistency

A

Data consistency is the ability of the data to be read once it has been written

consistency is just simply saying that every client is going
to have the same view of data. - especially important for CosmoDB, a globally distributed service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define CAP Theorem (2)

A
  • Consistency is just simply saying that every client is going to have the same view of data.
  • Availability - every client can always read and write.
  • Partition tolerance, which just means the system’s going to work well and it’s going to be available for use.
  • CAP theorem is simply: you can pick two of those three things. You can never have all three.
  • So you have to choose between consistency (the ability to have the same view of the data), availability (the ability to write and read at the same time), and partition tolerance, which is the availability of the system, basically.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly