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 05 · System Design · Deeper than the interview · about 15 min to read

Watch: Replication: the copy clerks
▶ VideoPlay it as a journeyTutor comes with a plan

Compute on borrowed disks: disaggregated storage

The Copy Clerks
The Copy Clerks · Open board

The copy clerks, where each extra copy of the database brings its own disk and its own full copy of the data. This lesson asks what changes when the copies share one store of data and only the workers are added.

Lesson 29 of 115 in System Design

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

  • The problem: a new read copy takes half an hour
  • Most of what a database writes is the same news, twice
  • Disaggregated storage: compute and disk are different machines
  • Quorum: six copies, and the write is safe when four answer
  • Page server: storage that rebuilds pages from the log
  • Scale to zero and warehouses: why adding compute is cheap

Terms it explains: redo log records, Disaggregated storage, quorum, Safekeepers, Pageservers, Object storage, page server, scale to zero, virtual warehouses, Common mistakes, Redo the opening sum.

Lab

You pay your tab at stall A and walk to stall B. What do they say you owe?

Stay on Copy later, press Play next moment fourteen times, then raise Moments the clerks run behind and watch the stale answers count.

Open The copy clerks

Related papers

Review System Design