@IceFireLabs -> IceFireDB is a database built for web3.0 It strives to fill the gap between web2 and web3.0 with a friendly database experience, making web3 app
@IceFireLabs -> IceFireDB is a database built for web3.0 It strives to fill the gap between web2 and web3.0 with a friendly database experience, making web3 app
IceFireDB is an advanced decentralized database infrastructure that bridges traditional Web2 applications with the emerging Web3 ecosystem. Built on cutting-edge distributed systems research, it provides a robust foundation for building decentralized applications with enterprise-grade performance and reliability.
| Feature | Status | Description |
|---|---|---|
| High Performance | Ongoing Optimization | Optimized for low-latency, high-throughput operations |
| Multi-Storage Support | ✅ Implemented | LSM disk, OSS, IPFS, and hybrid storage drivers |
| Distributed Consistency | ✅ Implemented | Raft, P2P-CRDT, and IPFS-LOG consensus modes |
| IPFS Integration | Beta | Persistent decentralized storage layer |
| P2P Auto-Networking | Beta | Automatic decentralized network formation |
| KV Storage Engine | Beta | CRDT-based and IPFS-LOG based KV stores |
| AI Vector Database | In Progress | Vector storage and similarity search capabilities |
| NATS Integration | In Progress | High-performance decentralized messaging |
| Tamper-Resistant Logs | Planned | Auditable, scalable logging with QED integration |
| Web2-Web3 Bridge | Planned | Immutable data witness layer |
| Hot/Cold Storage | ✅ Implemented | Tiered storage via hybriddb driver |
IceFireDB is designed as a bridge between Web2 and Web3 worlds, enabling:
Visit our official documentation center for detailed guides, API references, and architectural deep dives:
Documentation Center - https://docs.icefiredb.xyz/icefiredb_docs/
Our documentation includes:
IceFireDB is composed of several specialized components that work together to provide comprehensive decentralized database capabilities:
A decentralized SQLite database that enables global distributed SQL operations:
Decentralized SQL database networking system for traditional Web2 databases:
Adds decentralization capabilities to traditional Redis databases:
High-performance decentralized publish-subscribe system:
Core NoSQL database engine with multiple operational modes:
IceFireDB provides comprehensive Redis-compatible command support across all major data types:
IceFireDB implements a sophisticated layered architecture with the following core components:
| Component | Description | Technologies |
|---|---|---|
| ** Network Layer** | Multi-protocol networking with hybrid consensus | P2P, RAFT, NATS |
| ** Storage Layer** | Multi-engine storage abstraction with Web2/Web3 compatibility | goleveldb, badger, hybriddb, IPFS, CRDT, IPFS-LOG, IPFS-SYNCKV, OSS |
| ** Protocol Layer** | Multi-protocol support for broad application compatibility | RESP, SQL |
| ** Codec Layer** | Core data abstraction and encoding/decoding engine | KV, Strings, Hashes, Lists, Sorted Sets, Sets, SQL, PubSub |
Storage backends are classified by support tier for the 1.0.0 release. "GA" backends are recommended for production; "Beta" are usable and CI-tested but may need tuning or carry caveats; "Experimental" are decentralized/external-service backends still maturing.
| Backend | Tier | Storage | External dependency | Notes |
|---|---|---|---|---|
goleveldb |
GA | Local LSM (default) | none | Default engine; mature ledis storage. |
hybriddb |
GA | Local hot/cold tier | none | ristretto cache over leveldb; has dedicated unit tests. |
badger |
Beta | Local LSM | none | CI-tested; default open options are memory-heavy — tune before heavy production use. |
ipfs-synckv |
Beta | IPFS + local mirror | IPFS daemon (:5001) | Encrypted (AES-GCM); CI-tested against a real IPFS node. |
ipfs |
Experimental | IPFS | IPFS daemon (:5001) | Decentralized storage; beta maturity. |
ipfs-log |
Experimental | IPFS append-only log | IPFS daemon (:5001) | Decentralized log; multi-node identifier via --ipfs-log-dbname. |
oss |
Experimental | S3 / object storage | S3 endpoint + credentials | Object-storage backend. |
crdt |
Experimental | P2P CRDT | libp2p networking | Conflict-free cross-site sync; beta maturity. |
All backends are exercised by the per-backend CI jobs in
.github/workflows/test.yml. Tier reflects production-readiness and operational complexity, not just test coverage. RESP semantics are identical across backends — see COMPATIBILITY.md.
--nosyncWrites go through the Raft log before being applied to the storage backend. By
default each Raft log append is synced to disk (fsync) before the write is
acknowledged, so an acknowledged write survives a power loss or process crash on
that node.
fsync.--nosync: the Raft log is not fsync'd on every append. Writes are much
faster, but a sudden power loss or OS crash can lose the most recent
acknowledged writes on that node. A clean process kill (e.g. SIGKILL) is
still safe because the data already reached the OS page cache; --nosync only
trades away protection against losing un-flushed pages on power/kernel failure.In a multi-node cluster, a Raft write commits once a majority of nodes have
appended it, so the cluster as a whole tolerates the loss of a minority of nodes
even with --nosync. Crash-recovery and leader-failover behavior is verified by
the integration tests (make test-integration).
Recommendation: keep the default (sync on) for single-node or durability-
sensitive deployments; consider --nosync only for multi-node clusters where the
majority-commit guarantee and higher throughput outweigh per-node power-loss risk.
Get started with IceFireDB in minutes with our comprehensive quick start guide:
IceFireDB originated as a distributed NoSQL database for Web2 scenarios and continues to evolve:
No open issues yet, or sync has not completed.