3 ms·
Gun is a graph database. I don't think Orbit uses a graph system, but instead uses feeds or KV stores. So that's a another difference. But Gun can use IPFS as a
by olah_1 7y ago
Gun is a graph database. I don't think Orbit uses a graph system, but instead uses feeds or KV stores. So that's a another difference. But Gun can use IPFS as a storage adapter if you wanted.
- vaultec81 7y agoThere is also support for a mongodb like datastore. Slightly separated from orbitdb itself. But uses orbitdb as core system. https://github.com/dappkit/aviondb https://github.com/dappkit/aviondb
- haadcode 7y agoTo clarify here, OrbitDB's core is an append-only, immutable log CRDT. While a mouthful, what is gives, is a distributed (decentralized) database operations log. Almost any type of database, or data structure, can be then built on top of that log. The log in OrbitDB is a Merkle-DAG [1], so, a graph. Key-Value databases, feeds, and other data model types that OrbitDB supports by default, are all built on that log. You can also create your custom database types, ie. custom data models. [1] https://discuss.ipfs.io/t/what-is-a-merkle-dag/386/4 https://discuss.ipfs.io/t/what-is-a-merkle-dag/386/4
- sagichmal 7y agoWhat makes it a CRDT?
- haadcode 7y agoPosted this in another reply above, but give this a read: "Merkle CRDTs" (https://arxiv.org/abs/2004.00107 https://arxiv.org/abs/2004.00107).
- haadcode 7y agoThe log described above is this https://github.com/orbitdb/ipfs-log https://github.com/orbitdb/ipfs-log