xandkar / erlang-crdt

Select, app-level, state-based CRDT (Convergent Replicated Data Type) implementations for Erlang.
MIT License
2 stars 0 forks source link

Factor-out a generic CRDT set #2

Open xandkar opened 9 years ago

xandkar commented 9 years ago

Which records are merges two internal sets:

  1. adds (or "members")
  2. removes (or "tombstones")

The difference is in how elements are represented and compared. 2P-Set treats elements as-is, while OR and LWW-element maintain metadata per element.