System Design · Unit 16
CAP & consistency
You have already met a version of this: with replication, a follower can be briefly behind the leader, so a read might be slightly stale. That was consistency showing up in practice. This unit gives you the vocabulary and the tradeoff behind it, which interviewers ask about often.
The core question is: when data is stored in more than one place, how fresh must a read be? Strong consistency means every read sees the latest write, always. Eventual consistency means reads might be briefly out of date, but all copies converge to the same value soon. Neither is "better", they are a tradeoff.
Heads up: CAP is a topic people love to over-formalize and argue about. We will keep it at the practical level that actually helps you in an interview: strong vs eventual, why you cannot always have strong for free, and how to choose per piece of data.
The rest of the System Design course is premium
The first two units are free, and this is where the gate sits. Unlocking premium opens this unit and everything else in both courses:
- ✓This unit: 5 prediction-first lessons, 3 applied drills, and a 5-question graded test
- ✓All 20 System Design units, caching to CAP & consistency
- ✓The full DSA course: every unit, guided problem, and drill
Cancel anytime. Not useful within 7 days? Email for a full refund.