System design · Mechanisms — replication, queues, limits, and placement

Replication, quorums, and what "consistent" means to your interviewer

One copy of your data is a single point of failure; two copies are a disagreement waiting to happen. This derives what replication buys, what a quorum guarantees and — more importantly — what it does not, and how to answer "is this strongly consistent?" without reciting CAP.

24 min read Full lesson in the app Patterns: quorum, single-leader, read-your-writes

What you'll be able to do

Before this: picking-a-datastore

The rest of this lesson is in the app

One copy of your data is a single point of failure; two copies are a disagreement waiting to happen. This derives what replication buys, what a quorum guarantees and — more importantly — what it does not, and how to answer "is this strongly consistent?" without reciting CAP. This walkthrough runs about 24 minutes, with runnable code you can edit and re-run as you read.

Continue in ChannelPulse

The first module of every track is free to read on the web — see what's open in System design.