Skip to main content
PProfileMatch
← Path

System Design · CAP Theorem and Consistency Models

0 XP
  1. 1 current stop: learning
  2. 2 upcoming
  3. 3 upcoming
  4. 4 upcoming
  5. 5 upcoming

Finish after stop 5

Stop 1 of 5 · Mountain pass, signal drops

Trick to keep in mind+3 XP

Partitions are weather, not a choice: when it rains, pick consistency or availability.

In a distributed system messages can be lost or delayed, so you cannot promise the network will never split. That makes partition tolerance a given rather than an option. The real decision is what to do while a split lasts: refuse to answer so nothing wrong is said, or answer from what you have and risk being stale. While the network is healthy you do not have to give up either one.

Read it once, then a question tests whether the trick stuck.