P

PrepStack

Consistency Models, CAP and PACELC

When data is copied to several machines, a read can return an old value. "Consistency" is what a system promises about that. Interviewers ask what CAP really says, why "pick any two of three" is a trap, what PACELC adds, and whether "read count plus write count bigger than copy count" (R + W > N) means strong consistency. After this section you can define the main models, state CAP exactly, classify a system with PACELC, and explain quorums and conflicts with an example.

Topics in this section