Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 02 · Data Systems · Data on many machines · about 20 min to read

Play it as a journeyTutor comes with a plan

Replication

Replication
Replication · Open board

The three ways to keep the same data in step on more than one machine. The copy clerks (database replication) tells the same three-way split as a story first. This lesson is the full version, in order.

Before you start. The previous lesson, Transactions, was one machine’s promise: a group of writes lands whole or not at all, even with two people touching the same row at once. This lesson sends changes to the same piece of data to several machines instead of one, and a new question comes up: exactly what gets sent, and what a reader sees on a copy that has not caught up yet.

Lesson 13 of 24 in Data Systems

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • October 2007: the cart that was never allowed to say no
  • One machine holds the pen, and the rest replay it
  • 3.2 seconds: the order that was not there yet
  • Two more tricks the same gap plays
  • When no one holds the pen
  • Where you will meet this

Terms it explains: leader, follower, replication lag, read-your-writes, multi-leader, leaderless, quorum, sloppy quorum, hinted handoff, version vectors, Merkle tree, CDC, CRDT, eventual consistency, failover, leader/follower, LWW, read repair / anti-entropy, read-your-writes / monotonic / consistent-prefix, split brain, sync/async/semi-sync, version vector, write conflict.

Related papers

Review Data Systems