Continuing on from https://github.com/couchbase/couchbase-lite-core/issues/274
I have been thinking about this, and I think it would be a great asset to be able to use IPFS and its "Merkle DAG" storage as a remote data store for LiteCore. I have been reading around, and to answer your previous questions Jens: "how does it manage mutable data?" - you can use IPNS to store mutable data, as a "peer ID". This would be equivalent to a document ID. "Does it have a notion of a revision ID? Or I guess the hash of the data may form the revision ID, in which case there's a different identifier for the document itself?" - As far as I can tell, the hash is the link to the immutable data, so similar to the revision ID in CouchDB. In terms of the "document itself", I think that can be referenced with a CRDT structure and/or IPNS (I'm still wrapping my head round all this stuff). There are a few projects building LevelDB compatible layers on top of IPFS, so a CouchDB / LiteCore compatible layer should be feasible. (Most of the projects are written in Javascript, or Go). -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/acea2e3f-9c88-4d3a-95d8-689959df6003%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
