Consistency, Availability & Partitions

Consistency, Availability & Partitions

CAP without the folklore
Free
5h · 5 lessons
Overview

What actually happens between a client and a server, what a millisecond costs, and why you cannot have consistency, availability and partition tolerance at once. Start here if you can draw the boxes but not defend them.

This module is 01.4 of the 5 in Foundations. It runs about 5 hours across 5 lessons, and closes with Split Brain — Partition a cluster and choose what to sacrifice. Every choice shows you the user-visible consequence.

Lessons
1. What CAP actually says, and what it does not

Concept · 35 minutes

2. The consistency spectrum, strong to eventual

Concept · 40 minutes

3. Linearizability and serializability, distinguished

Concept · 40 minutes

4. PACELC: the cost when nothing is broken

Concept · 30 minutes

5. Consensus: Paxos and Raft, at diagram level

Concept · 45 minutes

Module information
Duration
5 hours
Lessons
5
Level
Beginner
Track
Foundations
Drill
Split Brain
Price
Free

Related modules

API Design & Contracts
4 hours
5 lessons
Beginner
API Design & Contracts
Free
01.5
How the Network Actually Works
5 hours
6 lessons
Beginner
How the Network Actually Works
Free
01.1
Latency Numbers & Estimation
4 hours
5 lessons
Beginner
Latency Numbers & Estimation
Free
01.2
The Machine Underneath
5 hours
5 lessons
Beginner
The Machine Underneath
Free
01.3