Law
The latency floor of consistency
You may make reads local, or writes local, never both. You are not paying for the distance. You are paying for not knowing the distance.
- One-way delay
- the one-way delay between the two nodes
- Read and write time
- the time a read takes and the time a write takes
- Delay uncertainty
- the spread between the smallest and largest possible delay, d_max − d_min
How it behaves
One input on the horizontal axis, the others held fixed.
Data table
| Read latency r | Minimum write latency w |
|---|---|
| 0 µs | 80 ms |
| 1 ms | 79 ms |
| 2 ms | 78 ms |
| 3 ms | 77 ms |
| 4 ms | 76 ms |
| 5 ms | 75 ms |
| 6 ms | 74 ms |
| 7 ms | 73 ms |
| 8 ms | 72 ms |
| 9 ms | 71 ms |
| 10 ms | 70 ms |
| 11 ms | 69 ms |
| 12 ms | 68 ms |
| 13 ms | 67 ms |
| 14 ms | 66 ms |
| 15 ms | 65 ms |
| 16 ms | 64 ms |
| 17 ms | 63 ms |
| 18 ms | 62 ms |
| 19 ms | 61 ms |
| 20 ms | 60 ms |
| 21 ms | 59 ms |
| 22 ms | 58 ms |
| 23 ms | 57 ms |
| 24 ms | 56 ms |
| 25 ms | 55 ms |
| 26 ms | 54 ms |
| 27 ms | 53 ms |
| 28 ms | 52 ms |
| 29 ms | 51 ms |
| 30 ms | 50 ms |
| 31 ms | 49 ms |
| 32 ms | 48 ms |
| 33 ms | 47 ms |
| 34 ms | 46 ms |
| 35 ms | 45 ms |
| 36 ms | 44 ms |
| 37 ms | 43 ms |
| 38 ms | 42 ms |
| 39 ms | 41 ms |
| 40 ms | 40 ms |
| 41 ms | 39 ms |
| 42 ms | 38 ms |
| 43 ms | 37 ms |
| 44 ms | 36 ms |
| 45 ms | 35 ms |
| 46 ms | 34 ms |
| 47 ms | 33 ms |
| 48 ms | 32 ms |
| 49 ms | 31 ms |
| 50 ms | 30 ms |
| 51 ms | 29 ms |
| 52 ms | 28 ms |
| 53 ms | 27 ms |
| 54 ms | 26 ms |
| 55 ms | 25 ms |
| 56 ms | 24 ms |
| 57 ms | 23 ms |
| 58 ms | 22 ms |
| 59 ms | 21 ms |
| 60 ms | 20 ms |
| 61 ms | 19 ms |
| 62 ms | 18 ms |
| 63 ms | 17 ms |
| 64 ms | 16 ms |
| 65 ms | 15 ms |
| 66 ms | 14 ms |
| 67 ms | 13 ms |
| 68 ms | 12 ms |
| 69 ms | 11 ms |
| 70 ms | 10 ms |
| 71 ms | 9 ms |
| 72 ms | 8 ms |
| 73 ms | 7 ms |
| 74 ms | 6 ms |
| 75 ms | 5 ms |
| 76 ms | 4 ms |
| 77 ms | 3 ms |
| 78 ms | 2 ms |
| 79 ms | 1 ms |
| 80 ms | 0 µs |
Worked examples, recomputed
Every number the mechanisms quote for this relationship is recomputed from it, so none of them disagrees with it.
Where it appears
Each mechanism states it in its own names. The general symbol each name stands for is shown with it.
- Consistency & Isolation Models
When many users, many objects and many copies exist at once, which histories does the system promise never to show, and who writes the code for the histories it does show?
- Consistency & Isolation Models
When many users, many objects and many copies exist at once, which histories does the system promise never to show, and who writes the code for the histories it does show?