I have no idea how gdocs is implemented, but it’s quite possible it works by each user independently reading and writing to a generic central database server. This seems to be a very web way to think about things (and was the background assumption behind the on-stream question).
For the simplest possible example, an incrementing counter as a CRDT is just the collection of values received, and the state of the CRDT is the sum. Thus, sums arrive in any order, and if any two nodes receive the same set of values, they will (obviously) add to the same sum.
-
-
But a "dead reckoning" counter is a single value that is the current sum, and then an estimate, probably based on the short-term derivative, about what the sum will probably be in a few milliseconds. The correct sum will arrive from an authority, and replace the estimated sum.
-
These are completely unrelated concepts and share nothing in common.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.