Why is CAP Theorem true?

Technology CommunityCategory: CAP TheoremWhy is CAP Theorem true?
VietMX Staff asked 3 years ago

It’s proofed by construction. Basically we demonstrate a single situation where a system cannot be consistent and available in the same time:

If a client writes to one side of a partition, any reads that go to the other side of that partition can’t possibly know about the most recent write. Now you’re faced with a choice: do you respond to the reads with potentially stale information, or do you wait (potentially forever) to hear from the other side of the partition and compromise availability?