crdt icon indicating copy to clipboard operation
crdt copied to clipboard

Optimize lww-e-set

Open neurodrone opened this issue 9 years ago • 0 comments

Instead of resolving conflicts in the read-path, we can try to resolve them in the write-path.

By adding a [element, time, contains?] version we can add or remove an element from the set depending on the timestamp for which op is higher.

When times for conflicting ops (both add and remove) are same then we pick the value for contains? depending on the biasValue that is passed in.

neurodrone avatar Aug 11 '15 14:08 neurodrone