4 ms·
This is also the way to do it if you want a number that multiple nodes can edit independently. When you sync back up, do a big tally at the end, and that's you
by LAC-Tech 3y ago
This is also the way to do it if you want a number that multiple nodes can edit independently.
When you sync back up, do a big tally at the end, and that's your final number.
(This constitutes a CRDT, and is known as the Positive/Negative Counter).
- tech_ken 3y agoThe idea is similar/equivalent to a stack of git deltas yeah? Each line is a change of one of two types and then you combine them to get a net change?
- LAC-Tech 3y agoI'm actually not too familiar with git deltas, but that does sound very similar to an Observed/Removed Set, another CRDT.