Maps to: not in the Spring 2026 learning-outcome list, but used throughout — the leases of Lectures 7 and 25, the “no global clock” theme of Lecture 1, the consistent cuts of Lecture 15, the version vectors of Lecture 22, and the timestamps of Lecture 26 all rest on it. This supplement gives the machinery those lectures assumed. Sources:
- L. Lamport, Time, Clocks, and the Ordering of Events in a Distributed System (CACM 1978);
- F. Cristian, Probabilistic Clock Synchronization (Distributed Computing 1989);
- D. Mills, Network Time Protocol Version 4 (RFC 5905) and Internet Time Synchronization: the Network Time Protocol (IEEE ToC 1991);
- R. Gusella and S. Zatti, The Accuracy of the Clock Synchronization Achieved by TEMPO in Berkeley UNIX 4.3BSD (IEEE TSE 1989);
- C. Fidge, Timestamps in Message-Passing Systems That Preserve the Partial Ordering (1988);
- F. Mattern, Virtual Time and Global States of Distributed Systems (1989);
- D. Mills et al. and the Google TrueTime description (Corbett et al., Spanner, OSDI 2012).
The slides are not public; this is not a transcript. Every number not attributed to a source comes from
code/s1/, run on the author’s machine (Apple M4 Pro, macOS, Python 3.13 and 3.9). Network time is simulated ondsim; everything is seeded. Code:code/s1/. Reading time: ~55 minutes, plus a moment to run the demos.
0. How to read this supplement
0.1 Learning goals
After this supplement you should be able to:
- Explain why a process cannot read another’s clock exactly over a network, and state Cristian’s error bound.
- Use NTP’s four timestamps to separate clock offset from round-trip delay, and say how leg asymmetry limits the accuracy.
- Explain clock drift and compute how often clocks must resync to hold an error bound — and connect that to leases.
- Define the happened-before relation and concurrency, and explain why causality is a partial order.
- Use Lamport clocks to get a total order consistent with causality, and say exactly what they cannot tell you.
- Use vector clocks to detect concurrency exactly, and state their cost.
- Build total-order broadcast on Lamport timestamps, and connect it to replicated state machines.
0.2 Prerequisites and scope
- Prerequisites: Lecture 1 (no global clock, partial failure); Lecture 2 (network delay); Lecture 7 (leases); Lecture 15 (consistent cuts) and Lecture 22 (version vectors) are the payoffs.
- Scope:
- Covered: physical synchronization (Cristian, NTP, Berkeley) with error bounds; logical time (happened-before, Lamport, vector); total-order broadcast.
- Mentioned: hybrid logical clocks, TrueTime.
- Not covered: the internals of oscillators and PLLs, GPS timing hardware, the full NTP discipline algorithm, Byzantine clock synchronization.
0.3 Section → code map
| Section | Idea | Demo in code/s1/ |
|---|---|---|
| §1–2 | Cristian, NTP, Berkeley, drift | 01_physical_clocks.py, clocks.py |
| §3 | happened-before, concurrency | 02_logical_clocks.py, logical.py |
| §4 | Lamport clocks | 02_logical_clocks.py Part B |
| §5 | vector clocks | 02_logical_clocks.py Part C |
| §6 | total-order broadcast | 02_logical_clocks.py Part D |
0.4 Notation
- t0, t1, t2, t3: timestamps in an NTP exchange (client send, server receive, server send, client receive).
- ρ: clock drift rate (parts per million). L: a Lamport timestamp. V: a vector timestamp.
- a → b: a happened before b. a ∥ b: a and b are concurrent.
1. Why clocks are hard
Lecture 1 listed, among the facts that distribution forces on you, that there is no global clock. Each machine has its own quartz oscillator, and two of them, however carefully set, drift apart. This matters for ordinary-looking tasks:
- A lease (Lectures 7, 25) is “valid until time T”. The grantor and the holder read T on different clocks; if they disagree by more than the slack, one thinks the lease is live while the other has given it away.
makerebuilds a file whose source is “newer”. Across an NFS mount, the source and object files are stamped by different machines’ clocks; a backward-running clock skew rebuilds everything or nothing.- A distributed log or a database wants to order events “by time”. Whose time?
There are two separate problems, and this supplement treats them in turn. Physical synchronization tries to make clocks agree with real time (or each other) as closely as the network allows (§1–2). Logical time gives up on real time and orders events by what could have caused what, which is often all an algorithm needs (§3–6).
2. Reading a remote clock
2.1 Cristian’s algorithm and its irreducible error (demo 01 Part A)
A client wants to set its clock from a time server. It cannot just ask — the reply takes an unknown time to arrive, by which the server’s answer is already stale. Cristian’s idea (1989): measure the round trip and split it.
The client sends a request at its local time t0 and receives the reply, carrying the server’s time Ts, at t1. The round trip took (t1 − t0). If the request and reply legs were equal, the server’s clock when the reply arrived read Ts + (t1 − t0)/2, so the client sets its clock there.
The catch is if the legs were equal. The client cannot see how the round trip split. If the request took longer, the true server time is a little less than the estimate; if the reply took longer, a little more. The error is (request leg − reply leg)/2, and the client can bound it only by
± ( (t1 − t0)/2 − min one-way delay ),
where the minimum one-way delay is the smallest the network could possibly take. The error can be made small only by a fast, steady network, never zero over a real one.
Demo 01 Part A runs 200 exchanges with a server set 100 ms ahead:
| network delay per leg | mean round trip | worst |error| | mean bound ± | errors within the bound |
|---|---|---|---|---|
| fixed 10 ms each way | 20.0 ms | 0.00 ms | 0.00 ms | 200 / 200 |
| 5–25 ms (variable) | 29.7 ms | 9.54 ms | 9.87 ms | 200 / 200 |
| 1–49 ms (very variable) | 49.4 ms | 22.89 ms | 23.69 ms | 200 / 200 |
With fixed legs the split is known and the error is zero. With variable legs the error grows with the spread, and it always stayed within Cristian’s own bound. A client can also send several requests and keep the one with the smallest round trip, since that sample has the least room for asymmetry — NTP does exactly this.
2.2 NTP: offset and delay from four timestamps (demo 01 Part B)
The Network Time Protocol refines the idea with four timestamps: the client’s send t0, the server’s receive t1, the server’s send t2, and the client’s receive t3. From these,
round-trip delay = (t3 − t0) − (t2 − t1) (total time minus the server’s processing) clock offset = ((t1 − t0) + (t2 − t3)) / 2
The offset is the amount to add to the client’s clock to match the server. It is exact when the two legs are equal, and the error from unequal legs is at most delay/2. Demo 01 Part B forces different splits of a 30 ms round trip:
| request / reply legs | measured delay | true offset | measured offset | error | delay/2 bound |
|---|---|---|---|---|---|
| 50% / 50% | 30.0 ms | 100.0 | 100.00 | +0.00 | 15.0 |
| 60% / 40% | 30.0 ms | 100.0 | 103.00 | +3.00 | 15.0 |
| 75% / 25% | 30.0 ms | 100.0 | 107.50 | +7.50 | 15.0 |
| 90% / 10% | 30.0 ms | 100.0 | 112.00 | +12.00 | 15.0 |
Equal legs give the exact offset; the error is the asymmetry, never more than delay/2. This is why NTP keeps the samples with the smallest delay, discards wildly asymmetric ones, and disciplines the clock gradually (slewing its rate) rather than stepping it, so that time never jumps backward — a backward step breaks every “is this newer?” test. NTP over the Internet typically holds a few to tens of milliseconds; on a LAN, under a millisecond. PTP (IEEE 1588), with hardware timestamping at the network card, reaches sub-microsecond on suitable hardware.
2.3 Berkeley: agreeing without a reference
Sometimes there is no trusted external time, and the goal is only that a set of machines agree with each other. The Berkeley algorithm (Gusella and Zatti 1989): a master polls everyone’s clock, averages the readings (discarding outliers), and tells each machine how much to adjust. clocks.berkeley does this, dropping values far from the median (robust to one wild clock). For many distributed algorithms this internal agreement is all that is needed — they want a consistent order, not the true time.
2.4 Drift, and what it means for leases (demo 01 Part C)
Even a perfectly set clock drifts. A clock with drift ρ (parts per million) gains or loses up to ρ microseconds per second, so ρ milliseconds every thousand seconds. Two clocks can drift apart at up to 2ρ. Demo 01 Part C:
| clock quality | drift after 1 s | after 1 min | after 1 h | resync for a 10 ms bound |
|---|---|---|---|---|
| oven-controlled (1 ppm) | 0.001 ms | 0.06 ms | 3.6 ms | 10,000 s |
| typical quartz (50 ppm) | 0.05 ms | 3 ms | 180 ms | 200 s |
| cheap (200 ppm) | 0.2 ms | 12 ms | 720 ms | 50 s |
To hold a 10 ms error, a 50 ppm clock must resync every 200 seconds. This is the number a lease must respect (Lectures 7, 25). A lease of length ℓ is safe only if, over ℓ, the grantor’s and holder’s clocks cannot drift apart enough to disagree about expiry; in practice the holder treats the lease as expiring a little early and the grantor as expiring a little late, and the gap must exceed the worst clock error over ℓ. Clock synchronization and leases are the same problem seen from two ends.
TrueTime. Google’s Spanner (2012) turned the error bound into an API: instead of a clock reading,
TT.now()returns an interval [earliest, latest] guaranteed to contain the true time, kept narrow (a few milliseconds) by GPS and atomic clocks in every data center. Spanner then waits out the uncertainty — after committing at time t, it waits untilTT.now()is certainly past t before releasing — turning a bounded clock error into globally consistent timestamps. It is Cristian’s “you can only know time to within a bound” made into a feature.
3. Logical time: the happened-before relation (demo 02 Part A)
Physical clocks give an approximate real time at a cost. Lamport’s 1978 insight is that many algorithms do not need real time at all; they need to know what could have caused what. That relation can be captured exactly, with no clock.
Define happened-before, written →, as the smallest relation such that:
- if a and b are events on the same process and a comes first, a → b;
- if a is the sending of a message and b is its receipt, a → b;
- if a → b and b → c, then a → c (transitivity).
If neither a → b nor b → a, the events are concurrent, a ∥ b: no chain of program steps and messages connects them, so no information could have flowed from one to the other, and no correct observer need agree on their order. Causality is a partial order, not a total one, and that is the whole point.
Demo 02 Part A records a three-process execution (P1 sends m1 to P2, P2 sends m2 to P3, P3 sends m3 back to P1), computes → by transitive closure, and classifies pairs:
| event a | event b | ||
|---|---|---|---|
| p1_a | → | p2_recv1 | happened before (via m1) |
| p1_send1 | → | p3_recv2 | happened before (via m1 then m2) |
| p1_a | → | p1_c | happened before (program order + the chain back) |
| p1_a | ∥ | p3_x | concurrent |
| p2_b | ∥ | p3_x | concurrent |
| p3_x | → | p1_c | happened before |
Of the 45 pairs, 7 are concurrent. Only the pairs joined by program order or a message chain are forced; the rest are free, and an algorithm that insists on ordering them is doing unnecessary work (or worse, imposing an order that is not real).
4. Lamport clocks: a consistent total order (demo 02 Part B)
A Lamport clock is one counter L per process:
- before each event, L := L + 1;
- a sent message carries the sender’s L; on receipt, L := max(L, carried) + 1.
The guarantee is one-directional: if a → b then L(a) < L(b). Following a message, the receiver’s clock jumps past the sender’s, so causality always increases the number. Demo 02 Part B confirms L(a) < L(b) for every causal pair.
But the converse is false, and this is the thing to remember: L(a) < L(b) does not mean a → b. In the demo, p3_x had L = 1 and p1_send1 had L = 2, yet the two are concurrent. A Lamport number cannot tell “before” from “concurrent”; a smaller number may mean “earlier” or may mean nothing.
What Lamport clocks do give is a total order consistent with causality: order events by (L, process id), breaking ties by process. This total order never contradicts →, so an algorithm that needs some agreed order — a replicated log, mutual exclusion, total-order broadcast (§6) — can use it. It just must not read “a has a smaller timestamp” as “a caused b”.
5. Vector clocks: concurrency, detected exactly (demo 02 Part C)
To capture → exactly — to tell causality from concurrency — a single counter is not enough; you need one per process. A vector clock: process i keeps a vector V where V[j] is how many of process j’s events i knows about.
- on a local event, V[i] := V[i] + 1;
- a message carries the sender’s V; on receipt, V := elementwise max(V, carried), then V[i] := V[i] + 1.
Then, comparing two events’ vectors:
- a → b iff V(a) < V(b) (≤ in every component and < in at least one);
- a ∥ b iff neither vector dominates the other.
Demo 02 Part C stamps the same execution and grades every pair against the ground truth:
| event | process | vector (P1, P2, P3) |
|---|---|---|
| p1_a | P1 | (1, 0, 0) |
| p1_send1 | P1 | (2, 0, 0) |
| p3_x | P3 | (0, 0, 1) |
| p2_recv1 | P2 | (2, 2, 0) |
| p2_send2 | P2 | (2, 3, 0) |
| p3_recv2 | P3 | (2, 3, 2) |
| p1_recv3 | P1 | (3, 3, 3) |
| p1_c | P1 | (4, 3, 3) |
The vector comparison matched the true happened-before on all 90 ordered pairs, with 0 disagreements. (2, 0, 0) and (0, 0, 1) are incomparable — neither ≤ the other — so p1_send1 ∥ p3_x, exactly as §3 found. (2, 2, 0) ≤ (2, 3, 0) so p2_recv1 → p2_send2.
The cost is the vector’s size: one integer per process, carried on every message and stored per event. That is why version vectors (Lecture 22) — vector clocks over replicas, tracking which updates each replica has seen — grow with the number of replicas, and why systems that need causality at scale use compressed or bounded variants (dotted version vectors, or hybrid logical clocks, which pack a physical time and a small logical counter into one value so that timestamps both track causality and stay close to real time).
6. Total-order broadcast (demo 02 Part D)
A replicated state machine (Lecture 19) keeps replicas identical by having each apply the same commands in the same order. That needs total-order broadcast: every correct process delivers all messages in one agreed order. Lamport’s timestamps give it, with no clock.
Each message gets a Lamport timestamp (ts, sender). A process holds pending messages sorted by (ts, sender), and delivers the smallest one only when it is sure nothing smaller can still arrive — when it has heard from every process a message or acknowledgement with a larger (ts, sender). With reliable, FIFO links and no failures, this is Lamport’s original mutual-exclusion construction. Demo 02 Part D:
| process | delivery order |
|---|---|
| A | a1(1,A) → b1(1,B) → c1(1,C) → a2(8,A) → b2(8,B) |
| B | a1(1,A) → b1(1,B) → c1(1,C) → a2(8,A) → b2(8,B) |
| C | a1(1,A) → b1(1,B) → c1(1,C) → a2(8,A) → b2(8,B) |
All three processes delivered the five messages in the same order, with no shared clock. Ties among equal timestamps (a1, b1, c1 all at ts 1) are broken by sender id, which every process does the same way.
The gap between this and real consensus (Paxos, Lecture 20): this construction assumes no failures and reliable links. A single crashed process stops delivery, because everyone waits forever to hear something larger from it. Paxos and Raft are what you use when a process may fail — they agree on the order despite failures, which Lamport timestamps alone cannot. Logical time orders events; consensus agrees on an order when parties can die.
Summary
- No clock is exact over a network. Cristian sets a clock to Ts + rtt/2, with error (request leg − reply leg)/2, bounded only by ± (rtt/2 − min one-way delay): 0 with fixed legs, up to ~9.5 ms with variable ones, never negative.
- NTP separates offset from delay with four timestamps; the offset is exact for equal legs and off by at most delay/2 otherwise (a 90/10 split of 30 ms → 12 ms error). It keeps low-delay samples and slews, never steps backward.
- Berkeley averages a set of clocks (dropping outliers) for internal agreement without a reference.
- Drift reopens the error: a 50 ppm clock drifts 180 ms/hour and must resync every 200 s for a 10 ms bound — the slack a lease must leave. TrueTime makes the bound an explicit interval and waits it out.
- Happened-before (→) is a partial order: program order, plus send → receive, plus transitivity. Unrelated events are concurrent (7 of 45 pairs here) and need no agreed order.
- Lamport clocks: a → b ⟹ L(a) < L(b), giving a total order consistent with causality; but L(a) < L(b) does not imply a → b — they cannot see concurrency.
- Vector clocks: a → b iff V(a) < V(b); incomparable means concurrent. Exact (0 disagreements on 90 pairs), at one integer per process — why version vectors grow with replicas.
- Total-order broadcast on Lamport timestamps delivers one order to all, with no clock — the basis of replicated state machines — but assumes no failures; tolerating failures is consensus (Lecture 20).
Common pitfalls
- Stepping a clock backward to correct it, breaking every “is this newer?” comparison; slew instead.
- Trusting a remote clock reading without accounting for the one-way-delay uncertainty.
- Setting a lease shorter than the worst clock error over its lifetime.
- Reading a Lamport timestamp as causality: a smaller L does not mean “happened before”.
- Using vector clocks at a scale where the vector is too large, instead of a bounded or hybrid scheme.
- Expecting total-order broadcast on Lamport timestamps to tolerate failures: a crashed process stops delivery; use consensus.
- Ordering concurrent events at all, when the algorithm does not require it.
Exercises
-
Cristian with retries. A client makes 5 Cristian requests; the round trips are 40, 22, 60, 24 and 90 ms, and the minimum possible one-way delay is 10 ms. (a) Which sample should it use, and what is its error bound? (b) Why not average the five offsets? (c) The server’s processing time is 2 ms and is not subtracted. How does that bias the estimate?
Answer
(a) The one with the smallest round trip, 22 ms: least room for asymmetry. Its bound is ± (22/2 − 10) = ± 1 ms. (b) The large round trips carry large, possibly asymmetric delays; averaging mixes their error in. The minimum-delay sample is the most informative, so NTP keeps the best, not the mean. (c) If the client treats the whole 22 ms as network time and sets its clock to Ts + 11 ms, but 2 ms of that was the server sitting on the request before stamping Ts, then Ts was taken late and the client's estimate of "now" is too high by up to the processing time. NTP's four-timestamp form removes this by subtracting (t2 − t1), the server's own measured processing time. -
Sizing a lease. A lease is granted by a server and used by a client; both clocks are disciplined by NTP to within ± 5 ms of true time, and may each drift 50 ppm between NTP syncs that happen every 100 s. (a) What is the worst the two clocks can disagree? (b) For a 10 s lease, by how much should the holder expire it early, and the grantor late, to be safe? (c) What breaks if the lease is 10 ms long?
Answer
(a) Each is within ± 5 ms of true time right after a sync, and drifts up to 50 ppm × 100 s = 5 ms more before the next, so each is within ± 10 ms of true time, and the two are within 20 ms of each other worst case. (b) The holder should treat the lease as expiring 20 ms *before* the nominal T (stop relying on it early), and the grantor 20 ms *after* (do not reissue until surely past T on everyone's clock), so there is no instant when the holder thinks it holds the lease and the grantor has given it away. (c) A 10 ms lease is shorter than the 20 ms worst-case disagreement: the grantor could believe it expired and grant it elsewhere while the holder still believes it holds it — two holders at once, the exact failure leases exist to prevent. Leases must be long relative to the clock error. -
Lamport order is not causality. In demo 02, p3_x (L = 1) and p1_a (L = 1) both have timestamp 1. (a) Are they concurrent? (b) The total order breaks the tie by process id. Does the resulting order (…, p1_a, …, p3_x, …) claim p1_a → p3_x? (c) Give a rule for using Lamport order safely.
Answer
(a) Yes: p3_x is P3's first event and p1_a is P1's first, with no message between them yet, so neither caused the other. (b) No. The total order places them in *some* sequence (p1_a before p3_x, say, because P1 < P3), but that is an arbitrary, consistent choice, not a causal claim. The order is *consistent with* → (it never puts b before a when a → b), which is weaker than *equal to* →. (c) Use the Lamport total order only where any order consistent with causality is acceptable — a serialization of a log, who-goes-first in mutual exclusion. Never infer "a caused b" from "L(a) < L(b)"; for that you need vector clocks. -
Vector clock reading. Three processes; you observe two events with vectors a = (3, 1, 4) and b = (2, 4, 4) over (P1, P2, P3). (a) What is their relation? (b) How many of P1’s, P2’s and P3’s events does the holder of b know about? (c) Event c on P3 has vector (3, 4, 5); its predecessor on P3 had (3, 4, 4). What did c’s process do, and what had it heard?
Answer
(a) Compare: a has 3 > 2 in P1's slot, b has 4 > 1 in P2's slot — neither dominates, so a ∥ b, **concurrent**. (b) b = (2, 4, 4): its holder has seen 2 events of P1, 4 of P2, 4 of P3 (including b itself if b is on P2). (c) P3's slot went 4 → 5, so c is a P3 event (a local step or a send/receive incrementing P3). The P1 slot rose from 3 to … it stayed at 3 here, P2 stayed at 4, so c did *not* learn anything new from P1 or P2 since its predecessor; it was a local event or a send (a receive would usually raise another slot). The holder of c knows of 3 P1-events, 4 P2-events, 5 P3-events. -
Total order with a crash. The demo’s total-order broadcast assumes no failures. (a) Exactly where does it block if process C crashes after broadcasting c1 but before acknowledging later messages? (b) Why can’t a time-out alone fix it safely? (c) What does Paxos/Raft add that lets order be agreed despite a crash?
Answer
(a) Every process holds back any message with a timestamp larger than c1's until it has heard something still larger from *every* process, C included. With C silent, no process can be sure C will not still send something between c1 and the next pending message, so delivery of everything after c1 stalls forever. (b) A time-out that declares C dead can be wrong (C may be slow or partitioned, Lecture 1): if different processes time C out at different moments, or C revives and sends the message they skipped, they deliver different sequences — the replicas diverge, which total order exists to prevent. (c) Consensus (Paxos, Raft) agrees on *each slot's* value with only a majority, so a minority failure does not block progress, and it never commits two different values for a slot, so no revival or partition can make correct replicas disagree. Logical time orders events assuming everyone participates; consensus decides the order when some do not.
Related lectures
- Lecture 7, 25: leases depend on §2.4’s drift bound.
- Lecture 15: a consistent cut is a set of events closed under →; Chandy–Lamport’s snapshot finds one.
- Lecture 19, 20: total-order broadcast (§6) is how replicated state machines stay identical, and consensus is what replaces it under failures.
- Lecture 22: version vectors are vector clocks over replicas.
- Lecture 26: timestamp freshness (§2.4’s clocks) and nonces (logical freshness).
Further reading
- L. Lamport, “Time, Clocks, and the Ordering of Events in a Distributed System”, CACM 1978 (one of the most cited papers in the field).
- F. Cristian, “Probabilistic Clock Synchronization”, Distributed Computing 1989.
- D. Mills, “Internet Time Synchronization: the Network Time Protocol”, IEEE Trans. Communications 1991; RFC 5905 (NTPv4).
- R. Gusella and S. Zatti, “The Accuracy of the Clock Synchronization Achieved by TEMPO…”, IEEE TSE 1989.
- C. Fidge, “Timestamps in Message-Passing Systems That Preserve the Partial Ordering”, 1988; F. Mattern, “Virtual Time and Global States”, 1989.
- S. Kulkarni et al., “Logical Physical Clocks” (hybrid logical clocks), OPODIS 2014.
- J. Corbett et al., “Spanner: Google’s Globally-Distributed Database”, OSDI 2012 (TrueTime).
Preview of Supplement S2 — Consistency models
Logical time orders events; the next supplement asks what orders a replicated data store must present to its clients. Linearizability (as if one copy, in real-time order), sequential consistency (one order, not necessarily real-time), causal consistency (respecting → from this supplement), eventual consistency and the session guarantees, and the CAP trade-off stated precisely — the vocabulary behind “one-copy semantics” (Lecture 19) and the relaxed models of Lectures 22 and 25.
术语表 (Glossary, English → 中文)
| English | 中文 |
|---|---|
| physical clock / logical clock | 物理时钟 / 逻辑时钟 |
| clock skew / clock drift | 时钟偏移 / 时钟漂移 |
| parts per million (ppm) | 百万分率 |
| clock synchronization | 时钟同步 |
| Cristian’s algorithm | Cristian 算法 |
| round-trip time / one-way delay | 往返时延 / 单程延迟 |
| offset / delay | 偏移量 / 时延 |
| Network Time Protocol (NTP) | 网络时间协议 |
| slew (vs step) | 缓调(逐步调整) / 跳变 |
| Berkeley algorithm | Berkeley 算法 |
| external vs internal synchronization | 外部同步 / 内部同步 |
| TrueTime / uncertainty interval | TrueTime / 不确定区间 |
| happened-before relation | 发生在先关系 |
| causality / causal order | 因果性 / 因果序 |
| concurrent events | 并发事件 |
| partial order / total order | 偏序 / 全序 |
| Lamport clock / Lamport timestamp | Lamport 时钟 / Lamport 时间戳 |
| vector clock | 向量时钟 |
| version vector | 版本向量 |
| hybrid logical clock | 混合逻辑时钟 |
| total-order broadcast / atomic broadcast | 全序广播 / 原子广播 |
| replicated state machine | 复制状态机 |
| consistent cut | 一致切片 |