What IceFireDB is #
IceFireDB is a database infrastructure project that bridges web2 and web3 storage. This site
documents the component that lives in the repository root and builds the IceFireDB binary — the
NoSQL engine: a Redis-compatible server whose writes are replicated through a Raft log and whose
data lives in a pluggable KV driver.
The two axes are independent, and that is the whole design:
- Consistency axis — a Raft cluster inside one site (or one availability zone). A leader accepts
writes, followers replay the log,
--openreadslets followers serve reads. - Storage axis — a
store.driver.IDBimplementation behind the ledis data model. It can be a local LSM engine, an object store, or a P2P replicated store. The command layer does not know which.
Everything else — the RESP surface, the per-type keyspaces, expiration, snapshots — is layered on top of those two.
redis-cli / any RESP client
│
▼
RESP server (uhaha + redcon) ← pipelining, TLS, AUTH, CLUSTER/RAFT commands
│
▼
Raft log (hashicorp/raft) ← write commands are replayed on every replica
│
▼
command handlers (strings/hashes/lists/sets/zsets/scan)
│
▼
ledis data model (one keyspace per type)
│
▼
driver.IDB → goleveldb | badger | hybriddb | oss | ipfs | ipfs-synckv | crdt | ipfs-log
Product map #
| Component | What it is | Where it runs |
|---|---|---|
| NoSQL engine (this docs section) | RESP server, Raft replication, pluggable KV storage | repository root, binary IceFireDB |
| IceFireDB-PubSub | Redis PubSub protocol over a libp2p network | IceFireDB-PubSub/ |
| IceFireDB-SQLite | MySQL protocol in front of a P2P-synchronised SQLite file | IceFireDB-SQLite/ |
| IceFireDB-SQLProxy | MySQL proxy that replicates statements to MySQL backends | IceFireDB-SQLProxy/ |
| IceFireDB-Redis-Proxy | RESP proxy that replicates commands to Redis backends | IceFireDB-Redis-Proxy/ |
The NoSQL engine is the only component documented as a database engine here; the four proxies are middleware and are documented with their own configuration files.
What is implemented today #
| Capability | State | Evidence in the source |
|---|---|---|
| RESP command surface | 110 commands registered | strings.go, hashes.go, lists.go, set.go, sorted_sets.go, scan.go, servers.go |
| Raft replication + snapshots | Working, integration-tested | vendor/github.com/tidwall/uhaha, snapshot.go, integration_test.go |
| Local storage | goleveldb (default), badger, hybriddb | driver/ + ledis store/goleveldb |
| Object storage | oss (S3-compatible) | driver/oss |
| Decentralized storage | ipfs, ipfs-synckv, crdt, ipfs-log | driver/ipfs*, driver/crdt, driver/ipfs-log |
| TLS + cluster auth token | Working | --tls-cert, --tls-key, --auth / ICEFIREDB_AUTH |
| Observability | /healthz, /readyz, /metrics, INFO, optional pprof | observability.go, server_info.go |
| OrbitDB driver | Disabled (commented out of main.go/flags.go) | repository root |
Multi-database / SELECT | Not implemented — one logical database | COMMAND-REFERENCE.md |
| Vector search, NATS messaging | Not implemented in this engine | — |
Where the rest of the documentation goes #
- Getting started — build, run, first commands, three-node cluster.
- Deployment — configuration, clustering, storage backends, security, observability, operations.
- Command reference — every registered command, plus the Raft/CLUSTER system commands.
- Architecture — protocol, network, storage and codec layers as they are built.
- Develop — clients, building, testing, benchmarking, ecosystem libraries.