Tinker Replication & consistency

by Samy (Kondasamy Jayaraman) · drawn with Colorfigures by April Zhu

10:08. Line up; every warehouse sells from its own count.North 5/1, East 5/1, West 4/0 · 1 sale

Chapter 3 of 7

The link goes down

Two buyers at once is rare. A cut line is not: one morning the phone line to West goes down for eight minutes, and West keeps taking orders.

This chapter: When the warehouses can’t talk, should West keep selling?

About this chapter

You will learn

  • A partition splits the copies into sides that can’t talk
  • Each side can stay available or stay consistent, not both
  • The CAP theorem, in one picture

Words you’ll meet

Partition
A break in the network: the copies on each side can’t reach each other.
Available
Every request gets an answer, even while the line is down.
Consistent
Every answer agrees with the newest change, as if there were one copy.

Step 1 of 5

At 10:06 the line to West goes down: a . Each side still takes orders.

Cut the line.