Distributed systems
Reason about concurrency, communication, and partial failure using original papers and reproducible models. Historical papers establish foundations; production products are examples rather than universal implementations of those ideas.
Get an in-app notice when new lessons or practice are added.
12 chapters across 4 modules
Course chapters
Explore all 12 chapters in any order. Each chapter has learning goals, a practice prompt, and a primary reference; expanded reading pages are linked from their chapter titles.
No matching chapters. Try another term.
01 · Models and uncertainty3 chapters
Partial failure and uncertain outcomes
Reason about what a client knows when a remote operation times out.
- Explain why a timeout does not reveal whether remote work executed
Practice: Draw the possible outcomes of a timed-out payment-like operation without implementing a real payment.
Read the primary referenceExpanded reading · ReadyLogical clocks and causality
- Distinguish wall-clock order from happens-before relationships
Practice: Assign logical timestamps to events and identify concurrent pairs.
Read the primary referenceLesson guide · ReadyConsistency models and histories
- Separate per-operation guarantees from informal claims of freshness
Practice: Check sample read/write histories against a stated consistency model.
Read the primary referenceLesson guide · Ready
02 · Replication and agreement3 chapters
Leader-based replication
- Explain log replication, acknowledgment rules, and stale followers
Practice: Trace a write through a three-node replicated log.
Read the primary referenceLesson guide · ReadyConsensus and leader election
- State safety and liveness assumptions in a consensus design
Practice: Simulate a split vote and a leader failure using a small event trace.
Read the primary referenceLesson guide · ReadyQuorums and read/write tradeoffs
- Explain what quorum overlap does and does not guarantee
Practice: Compare quorum settings under partitions with explicit version-resolution rules.
Read the primary referenceLesson guide · Ready
03 · Data and messaging3 chapters
Partitions, ordering, and delivery
- Specify the scope of ordering and duplicate delivery guarantees
Practice: Partition a stream of account-like events and identify where ordering is required.
Read the primary referenceLesson guide · ReadyTransactions and coordination
- Compare local atomicity with a multi-participant commit protocol
Practice: Trace a coordinator failure and identify which participants may block.
Read the primary referenceLesson guide · ReadyClocks and globally distributed data
- Explain why bounded clock uncertainty changes a design’s assumptions
Practice: Read the original Spanner architecture and contrast its assumptions with ordinary client clocks.
Read the primary referenceLesson guide · Ready
04 · Resilience and a failure lab3 chapters
Retries, idempotency, and deduplication
- Bound retries while preventing repeated side effects
Practice: Implement a simulated idempotency store and test a lost response.
Read the primary referenceLesson guide · ReadyFault injection and invariants
- Write a safety invariant before injecting packet loss or reordering
Practice: Test a toy replicated register against a deterministic failure schedule.
Read the primary referenceLesson guide · ReadyDesign a resilient learning-progress service
- Separate business requirements from chosen consistency and availability tradeoffs
Practice: Document offline edits, conflict rules, recovery behavior, and evidence from a small simulator.
Read the primary referenceLesson guide · Ready
Learn it. Check it. Try again.
11 original questions with worked explanations and source references. Filter by difficulty, revisit mistakes, and save your attempt as you go.
Open Distributed systems practiceBooks & references
Free reading at the publisher or author’s site. External materials keep their own licenses.
- Raft Consensus Algorithm resourcesRaft authors and contributors · documentation
Source & reuse terms
Freely readable at the provider. This catalog supplies a reference link; no permission to mirror the content is asserted.
- Apache Kafka DocumentationApache Software Foundation · documentation
Source & reuse terms
Freely readable at the provider. This catalog supplies a reference link; no permission to mirror the content is asserted.
- Distributed Systems course (6.5840)MIT PDOS · course
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.
- Time, Clocks, and the Ordering of Events (1978)Leslie Lamport · paper
Source & reuse terms
The author links this historical research paper for reading. Copyright and publication rights remain with their holders. This catalog provides the author-hosted link and does not mirror the PDF.
- Spanner: Google’s Globally-Distributed Database (2012)Google Research · paper
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.