Distributed Systems
Network partitions
Explain how a network partition splits a cluster into groups, why only the side with a majority can commit writes, and how to choose member counts that survive a zone loss.
What you will be able to do
- Explain why only the side of a partition that holds a majority can commit writes.
- Decide how many members to run and how to place them across zones.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Distributed Systems
- Failure modelsBeginner · 5 min
Explain what a failure model says, why crash-stop, crash-recovery and Byzantine assumptions differ, and why gray failure needs its own place in the model.
- Partial failuresIntermediate · 5 min
Explain why a timed-out remote call has an unknown outcome, and how timeouts, idempotency keys, retries and jittered backoff work together to handle it safely.
- CAP tradeoffsIntermediate · 5 min
Explain the three CAP properties, why a partition forces a choice between refusing and serving stale answers, and how to make that choice for each operation.
- Sequential consistencyIntermediate · 5 min
Explain sequential consistency, where all processes agree on one order that keeps each process's own order, and how it differs from the real-time rule of linearizability.
- Lamport clocksIntermediate · 4 min
Explain Lamport's happened-before relation and the logical clock rule that places causes before effects across machines, without relying on synchronized wall-clock time…
- Vector clocksIntermediate · 5 min
Explain vector clocks, how an entry-by-entry comparison shows whether two versions are ancestors or concurrent, and why concurrent versions must be merged rather than…