|
|
|
|
|
by hem777
1172 days ago
|
|
> "having the instances always process [ops] in the same order" is basically not possible in any real-world network By having 1) causal order (eg. using what the article refers to as Lamport Causal Clock) and 2) a deterministic sorting function to sort ops that happened concurrently (from the perspective of causal order), we can derive total order. It’s absolutely possible and used. And with those two properties, almost any data structure can be turned into a (op-based) CRDT. That is to say, thoughtlede has it correct in their comments above. |
|
total order is property that can only exist over a well-defined set of messages
without reliable delivery (and stable network tomography) there is no way to establish a well-defined set of messages
causal order (via lamport clocks or otherwise) just doesn't establish total order (by itself)