Distributed Systems

After this course you can say what a client is allowed to observe from a distributed system, reason about partial failure, time and ordering, build a replicated store with Raft, choose a consistency model on purpose, design transactions across services, test a cluster with fault injection and find the bug, limit the blast radius with cells, and review a multi-region design.

0/37 CHAPTERS5 MODULES
LAB STACK

A cluster simulated on one machine: several processes joined by a network layer that can delay, drop, reorder and partition messages; a Raft skeleton to complete; a fault-injection and history-checking harness. Each chapter embeds the matching simulation from the Distributed Systems path. Python or Go, chosen at kickoff.

SHOW UP TO

BEFORE YOU START

This course assumes you can already do the following. Each line says where ATLAS teaches it.

MODULE 1

Foundations

BEGINNER 0/7 WRITTEN

Why distribute, partial failure, time and ordering, remote calls, replication, and consistency in plain words. You finish with a replicated key-value store that loses data, and an explanation of why.

  1. 01 Why distribute at all: scale, availability and the priceCOMING
  2. 02 Partial failure: the thing that makes it hardCOMING
  3. 03 Time, clocks and orderingCOMING
  4. 04 Remote calls and messages: timeouts, retries and idempotencyCOMING
  5. 05 Replication: copies, leaders and followersCOMING
  6. 06 Consistency in plain words: what a client can observeCOMING
  7. 07 Project: a replicated key-value store that loses data, and whyCOMING
MODULE 2

Building blocks

WORKING 0/9 WRITTEN

Leader election and leases, Raft, quorums, partitioning, transactions across services, logical clocks, membership and coordination services. You finish with a Raft key-value store that survives a partition.

  1. 08 Leader election, leases and fencingCOMING
  2. 09 Consensus with RaftCOMING
  3. 10 Quorums and replication strategiesCOMING
  4. 11 Partitioning and rebalancingCOMING
  5. 12 Transactions across services: two-phase commit and sagasCOMING
  6. 13 Logical clocks, vector clocks and causalityCOMING
  7. 14 Membership, gossip and failure detectionCOMING
  8. 15 Coordination services: ZooKeeper, etcd and what belongs in themCOMING
  9. 16 Project: a Raft key-value store that survives a partitionCOMING
MODULE 3

Designing and testing

SENIOR 0/9 WRITTEN

Consistency models, CRDTs, multi-region design, overload, testing and debugging a cluster, metastable failures, and AI agents as a distributed system. You finish by finding three consistency bugs with a fault-injection harness.

  1. 17 Consistency models: linearizable to eventual, and CAP read properlyCOMING
  2. 18 CRDTs and convergenceCOMING
  3. 19 Multi-region: latency, conflict and where the leader livesCOMING
  4. 20 Backpressure and overload across servicesCOMING
  5. 21 Testing: Jepsen, fault injection and deterministic simulationCOMING
  6. 22 Debugging: tracing, logical time and the bug that needs three machinesCOMING
  7. 23 Metastable failures and cascadesCOMING
  8. 24 AI agents as a distributed system: the same failures in new clothesCOMING
  9. 25 Project: find three consistency bugs with a fault-injection harnessCOMING
MODULE 4

At scale

STAFF 0/6 WRITTEN

Cells and blast radius, control planes and data planes, multi-tenancy, operating consensus, and the cost of coordination. You finish with the design for a multi-region ledger.

  1. 26 Cells, shards and blast radiusCOMING
  2. 27 Control planes and data planesCOMING
  3. 28 Multi-tenancy, fairness and noisy neighboursCOMING
  4. 29 Operating consensus systems in productionCOMING
  5. 30 The cost of coordination, and when to avoid consensusCOMING
  6. 31 Project: the design for a multi-region ledgerCOMING
MODULE 5

Frontier and judgment

PRINCIPAL 0/6 WRITTEN

The classic papers, Byzantine fault tolerance, formal methods, the famous failures, and what not to distribute.

  1. 32 The classic papers: Lamport, FLP, Paxos, Dynamo, SpannerCOMING
  2. 33 Byzantine fault toleranceCOMING
  3. 34 Formal methods: TLA+ and proving a protocolCOMING
  4. 35 Case studies: famous distributed failuresCOMING
  5. 36 What not to distributeCOMING
  6. 37 Capstone: the consistency and availability strategy for a companyCOMING