crdt
crdt copied to clipboard
A Golang implementation of CRDTs.
In file g_counter.go line 22, the identity of replica is ident: uuid.NewV4().String() but uuid.NewV4() returns a tuple with of format (UUID, error). As I saw this reference is used in...
In order to make persistence an easier problem to solve we should be able to serialize every data-structure currently present in the repository. The data-structures should implement [`json.Marshaler`](http://golang.org/pkg/encoding/json/#Marshaler) interface to...
I am working on Synchronisation for online, offline apps. CRDTS are a core part of that and great that this lib is here. Google's vandium implements CRDT's btw for a...
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...
Currently, the implemented LWW-e-set CvRDT ensures that Adds always wins over Removes. The ability to control this should rely on the value of `BiasType` key that is passed in while...
We save all the added timestamps for each `LWW-e-set` element within an array. This makes it easier to add multiple entries that have the same timestamps. Ideally, only one entry...