Ecosystem libraries and components #
The engine is one piece. These are the libraries and services around it, all in the same GitHub organisation.
Libraries used by the storage drivers #
| Project | Used by | What it does |
|---|---|---|
icefiredb-crdt-kv | driver/crdt | CRDT key/value store over libp2p pubsub; merges concurrent writes without coordination |
icefiredb-ipfs-log | driver/ipfs-log, driver/ipfs-synckv | Immutable, operation-based append-only log for distributed systems, stored in IPFS and merged through pubsub |
IceFireDB/uhaha (fork) | the binary | Raft application framework: RESP server, log, snapshots, RAFT/CLUSTER commands |
IceFireDB/ledisdb (fork) | the binary | The data model: per-type keyspaces, TTLs, encodings |
Two of these are forked and pinned in go.mod via replace directives. Vendor updates to them are
behavioural changes to the engine, so go mod vendor diffs deserve a real review.
Services in this repository #
IceFireDB-PubSub #
Redis PubSub protocol over a libp2p network. Clients keep using SUBSCRIBE/PUBLISH; the server
propagates messages across peers, including peers behind NAT.
cd IceFireDB-PubSub
make
./bin/IceFireDB-PubSub -c ./config/config.yaml # proxy.local_port: 16379
redis-cli -p 16379 SUBSCRIBE name
redis-cli -p 16379 PUBLISH name hello
Configuration is config/config.yaml: proxy.local_port, p2p.* (discovery id, command topic, mode,
host ip/port), pprof_debug, log.level, ip_white_list, cache, ignore_cmd. See
IceFireDB-PubSub.
IceFireDB-SQLite #
MySQL protocol in front of a SQLite file, with statements propagated to peers so every node can answer SQL locally.
cd IceFireDB-SQLite
make
./bin/IceFireDB-SQLite -c ./config/config.yaml # server.addr: ":23306"
mysql -h 127.0.0.1 -P 23306 -u root -p # password from config userlist
IceFireDB-SQLProxy #
MySQL protocol proxy that replays statements to a MySQL backend, with separate admin/readonly connection pools and per-tenant users.
cd IceFireDB-SQLProxy
make
./bin/IceFireDB-SQLProxy -c ./config/config.yaml # server.addr: ":33306"
IceFireDB-Redis-Proxy #
RESP proxy that replicates commands to a single-node or clustered Redis, with optional read/write separation and caching.
cd IceFireDB-Redis-Proxy
make
./bin/IceFireDB-Redis-Proxy -c ./config/config.yaml # proxy.local_port: 16379
redhub #
A multi-threaded RESP server framework (epoll/raw-epoll based) used by the proxies; useful on its own when you need a fast Redis-protocol front end without the database.
Which one do I need? #
| Goal | Component |
|---|---|
| Redis-compatible KV with Raft and pluggable storage | NoSQL engine (this docs section) |
| Decentralized pub/sub between services | IceFireDB-PubSub |
| SQL semantics on each node, replicated | IceFireDB-SQLite |
| Existing MySQL/Redis made multi-site without rewriting the app | SQLProxy / Redis-Proxy |
| Build a RESP front end | redhub |
Not implemented, despite older documentation #
- OrbitDB driver — disabled in
main.go/flags.go(driver/orbitdbis not built). - NATS integration, vector/AI search, GraphQL endpoint — no code in this tree.
IceFireDB-Proxyas a standalone RESP cluster proxy — the repository shipsIceFireDB-Redis-Proxyinstead.