Cap Theorem Flashcards

1
Q

What is the difference between ACID consistency and CAP consistency?

A

ACID consistency = maintaining data validity through rules and constraints. Things like your bank balance can’t go negative. Orders can’t reference customers that don’t exist.

CAP consistency = all nodes in a distributed system see identical data at the same time. If you update a profile pic in Tokyo, users viewing your profile from London better see that same pic immediately.

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