Decentralized Real-Time Collaborative Documents - Conflict-free editing in the browser using js-ipfs and CRDTs

by Pedro Teixeira on 2017-08-01

With the introduction of IPFS PubSub, it became possible for IPFS nodes to declare shared pubsub topics, broadcasting updates in real-time to other nodes in the network that have subscribed to the topic. The pubsub pattern is a powerful construct but it does not guarantee delivery of messages and does not guarantee message order. Enter CRDTs, Conflict-Free Replicated Data Types, a higher level data structure that allows us to overcome these shortcomings.

This is a companion discussion topic for the original entry at