vacp2p / research

Thinking in code
MIT License
62 stars 4 forks source link

Ensure CRDTs such as logs are supported and easy to do #67

Open oskarth opened 4 years ago

oskarth commented 4 years ago

See e.g. ipfs-log package in OrbitDB.

https://github.com/orbitdb/ipfs-log/blob/master/src/log.js

This is a CRDT which is implemented as a set and a LWW (last winner write, with Lamport clocks)

Might make sense to move/add clocks at a more 'convenient' place.

Also see https://hal.inria.fr/inria-00555588/document for more

oskarth commented 3 years ago

cc @staheri14 as it relates to data consistency etc

oskarth commented 3 years ago

@staheri14 do you have any thoughts on this when it comes to things like store, data sync, and generally making it easier for applications built on top of Waku (communities, etc)?