CAP, PACELC, and quorum tuning to choose CP vs AP per subsystem with concrete examples.
Skip to the solution
MediumSystem Design6 min read
What is the CAP theorem and how does it drive consistency vs availability tradeoffs?
1.1k views
The problem
- cap-theorem
- consistency
- availability
- partition-tolerance
- quorum
Try it yourself
Sketch your approach before you read the solution. That is what the interview tests.
Stuck? Get a hint.
A short nudge toward the approach. It will not give the answer away.
Solution
The solution is hidden so you can try first
6 min read Β· 8 sections
Discussion
Other approaches, follow-ups and how it went in real interviews.
Sign in to join the discussion.
No comments yet. Share how you would answer it.
Question 7 of 106 in System design
Keep your momentum going.
Mark this question solved to track your progress, then take the next one while it is fresh.
Up nextMediumβ
When would you choose SQL vs NoSQL?
Continue