DDIA Lab/ overview 0/12 chapters
An interactive companion to Martin Kleppmann’s book

Learn Designing Data-Intensive Applications by replaying the incidents.

All 12 chapters as live ops dashboards. Watch replicas lag, partitions rebalance, transactions race and clocks drift — with metrics, a topology view and a log tail for every step. Then run the drills.

live · ch-05-replicationhealthy
T+00sWhy keep copies of the same data?
clientleaderfollower 1follower 2replication lognew followerleader · EUleader · USuser Auser Breplica Areplica Breplica Cwrite
T+00sWRITEclient → leader · write
T+00sREPLleader → follower 1
T+00sREPLleader → follower 2
12chapters · 3 parts
149replayable steps
7hands-on drills
72quiz questions · 163 terms

How it works

Replay each chapter

Every chapter walks the book’s own sections as an incident: metrics move, nodes turn degraded or down, and the log tail records every message. Use ← → or press play.

Run the drills

Compact a log, tune quorums, rebalance partitions, replay write skew, let a skewed clock eat a write, and run a MapReduce job.

Write the post-mortem

Five takeaways per chapter, a short quiz, and a searchable glossary. Progress is saved in your browser.

The book, chapter by chapter

PART I

Foundations of Data Systems

What makes a system reliable, scalable and maintainable — and the data models, storage engines and encodings everything else is built on.

PART II

Distributed Data

Spreading data across machines: replication, partitioning, transactions, the many ways networks and clocks lie, and how consensus restores order.

PART III

Derived Data

Systems that compute data from other data: batch jobs, event streams, and how to compose them into correct, humane applications.

Drills

Based on Designing Data-Intensive Applications by Martin Kleppmann (O’Reilly Media, 2017). Explanations are paraphrased summaries for study; page references point to the PDF edition. Read the book for the full story and its hundreds of references.