Re:OrbitDB: Peer-to-peer databases for the decentralized web
by olah_1 on Sunday April 19, 2020 @06:52PM
(#22919469)
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.
[ Parent
| on HN ]
Re:OrbitDB: Peer-to-peer databases for the decentralized web
by vaultec81 on Sunday April 19, 2020 @08:58PM
(#22920190)
There is also support for a mongodb like datastore. Slightly separated from orbitdb itself. But uses orbitdb as core system. https://github.com/dappkit/aviondb
Re:OrbitDB: Peer-to-peer databases for the decentralized web
by haadcode on Monday April 20, 2020 @12:16AM
(#22921050)
To 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.
Re:OrbitDB: Peer-to-peer databases for the decentralized web
by haadcode on Monday April 20, 2020 @03:04AM
(#22921798)
The log described above is this https://github.com/orbitdb/ipfs-log
Re:OrbitDB: Peer-to-peer databases for the decentralized web
by sagichmal on Monday April 20, 2020 @12:37AM
(#22921131)
What makes it a CRDT?
Re:OrbitDB: Peer-to-peer databases for the decentralized web
by haadcode on Monday April 20, 2020 @01:11AM
(#22921295)
Posted this in another reply above, but give this a read: "Merkle CRDTs" (https://arxiv.org/abs/2004.00107).