You probably will be interested in CRDTs and IPFS pubsub. These resources should be a good starting point:
pubsub