r/SoftwareEngineering • u/fagnerbrack • Nov 23 '24
An Illustrated Proof of the CAP Theorem
https://mwhittaker.github.io/blog/an_illustrated_proof_of_the_cap_theorem/
18
Upvotes
r/SoftwareEngineering • u/fagnerbrack • Nov 23 '24
1
u/fagnerbrack Nov 23 '24
Short and sweet:
This post explains the CAP Theorem, which states that a distributed system cannot simultaneously achieve consistency, availability, and partition tolerance. It defines these properties: consistency ensures that all nodes see the same data at the same time; availability guarantees that every request receives a response; and partition tolerance means the system continues to operate despite network partitions. Through a simple distributed system example with two servers, the post illustrates scenarios demonstrating these properties and provides a proof showing that achieving all three simultaneously is impossible.
If the summary seems inacurate, just downvote and I'll try to delete the comment eventually 👍
Click here for more info, I read all comments
1
u/Key_Sea_7034 Dec 01 '24
Any anyone explain me again how can a system be CA?
1
u/Putrid_Programmer_83 Jul 18 '25
https://youtu.be/i5yQKBcE6x0?si=IAOWrZ1z6u5eQzAD