parody / flock

by 0xfafafa
15 stars 2 forks source link

Improve the CRDT #9

Open fbergero opened 6 years ago

fbergero commented 6 years ago

Right now the CRDT used to keep track of alive processes is a simple Observed/Remove set. In the current implementation the removed set grows without limits.

milkwine commented 6 years ago

How about using LWW-element-Set to track the processs? Using timestamp instead of uuid, the tombstone set will grow much slower for same process will only save one record in set.