OrbitDB
activeby OrbitDB community · since 2016 · also known as Orbit DB
Serverless peer-to-peer database on IPFS and libp2p using Merkle-CRDT logs.
Overview
OrbitDB is a peer-to-peer database for JavaScript built on IPFS (Helia) and libp2p. Every database is an append-only, content-addressed operation log replicated between peers as a Merkle-CRDT, with higher-level types layered on top: event logs, documents and key-value stores, guarded by pluggable access controllers. Peers sync whenever they connect, so apps work offline and need no central server. It is the most established option for decentralised web3-style apps. Throughput, discovery and pinning are harder than with a server database, and the community is small.
Strengths & trade-offs
Strengths
- +No central server: peers replicate directly over libp2p
- +Content-addressed, verifiable history for every database
- +Pluggable access controllers for who may write
Trade-offs
- −Peer discovery, pinning and availability are operational headaches
- −Low throughput compared with server databases
- −Small community and frequent breaking changes across majors
Great for
- +Decentralised and web3 applications
- +Offline-capable collaborative apps without a backend
- +Tamper-evident shared logs between parties
Think twice for
- −High-throughput transactional systems
- −Apps requiring strong consistency
Capabilities
Native or official first-party support · 5 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- Manual
- Multi-region
- Active active
- Transactions
- None
- Consistency
- Eventual
- Schema
- Schemaless
- Architecture
- Distributed, Multi primary, Embedded
- Query languages
- JavaScript API
Each peer replicates whole databases it opens; write rates are modest.
Deployment
Ecosystem
Alternatives to OrbitDB
Decentralised, offline-first graph database that syncs peer-to-peer in JavaScript.
orbitdb vs gun →JavaScript database for browsers and Node that speaks the CouchDB replication protocol.
orbitdb vs pouchdb →Blockchain-style database combining MongoDB storage with Tendermint BFT consensus; dormant since 2020.
orbitdb vs bigchaindb →Local-first database with built-in sync, permissions and edit history, being rebuilt as a relational Jazz 2.
orbitdb vs jazz →Local-first TypeScript platform: SQLite on each device, end-to-end encrypted sync through relays.
orbitdb vs evolu →Event-sourced local-first data layer: reactive SQLite on the client, rebuilt from a synced event log.
orbitdb vs livestore →OrbitDB FAQ
What is OrbitDB?
OrbitDB is a document database by OrbitDB community, first released in 2016. OrbitDB is a peer-to-peer database for JavaScript built on IPFS (Helia) and libp2p. Every database is an append-only, content-addressed operation log replicated between peers as a Merkle-CRDT, with higher-level types layered on top: event logs, documents and key-value stores, guarded by pluggable access controllers. Peers sync whenever they connect, so apps work offline and need no central server. It is the most established option for decentralised web3-style apps. Throughput, discovery and pinning are harder than with a server database, and the community is small.
Is OrbitDB open source?
Yes. OrbitDB is open source. License: MIT License.
Does OrbitDB support ACID transactions?
No. OrbitDB does not provide ACID transactions; its consistency model is eventual.
Does OrbitDB scale horizontally?
OrbitDB has no built-in sharding; scaling out means partitioning data in your application. It is comfortable at small scale (≤ 100 GB). It supports active-active multi-region writes.
How can I run OrbitDB?
You can self-host it and embed it in your application.
What is OrbitDB best for?
OrbitDB is a strong fit for decentralised and web3 applications; offline-capable collaborative apps without a backend; and tamper-evident shared logs between parties. Think twice for high-throughput transactional systems.
What are the best alternatives to OrbitDB?
Common alternatives to OrbitDB include GUN, PouchDB, BigchainDB, Jazz and Evolu. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is OrbitDB?
OrbitDB ranks #306 of 844 databases on the WhichDB Score (9.7/100), and #28 among document databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.





