Overview

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, --openreads lets followers serve reads.
  • Storage axis — a store.driver.IDB implementation 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 #

ComponentWhat it isWhere it runs
NoSQL engine (this docs section)RESP server, Raft replication, pluggable KV storagerepository root, binary IceFireDB
IceFireDB-PubSubRedis PubSub protocol over a libp2p networkIceFireDB-PubSub/
IceFireDB-SQLiteMySQL protocol in front of a P2P-synchronised SQLite fileIceFireDB-SQLite/
IceFireDB-SQLProxyMySQL proxy that replicates statements to MySQL backendsIceFireDB-SQLProxy/
IceFireDB-Redis-ProxyRESP proxy that replicates commands to Redis backendsIceFireDB-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 #

CapabilityStateEvidence in the source
RESP command surface110 commands registeredstrings.go, hashes.go, lists.go, set.go, sorted_sets.go, scan.go, servers.go
Raft replication + snapshotsWorking, integration-testedvendor/github.com/tidwall/uhaha, snapshot.go, integration_test.go
Local storagegoleveldb (default), badger, hybriddbdriver/ + ledis store/goleveldb
Object storageoss (S3-compatible)driver/oss
Decentralized storageipfs, ipfs-synckv, crdt, ipfs-logdriver/ipfs*, driver/crdt, driver/ipfs-log
TLS + cluster auth tokenWorking--tls-cert, --tls-key, --auth / ICEFIREDB_AUTH
Observability/healthz, /readyz, /metrics, INFO, optional pprofobservability.go, server_info.go
OrbitDB driverDisabled (commented out of main.go/flags.go)repository root
Multi-database / SELECTNot implemented — one logical databaseCOMMAND-REFERENCE.md
Vector search, NATS messagingNot 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.