Chabi is a Rust Redis-compatible server with snapshot persistence, a minimal HTTP operational surface, and an in-repo docs site.
Docs:
- Deployed docs: https://envsync-cloud.github.io/chabi/
- Local docs app:
apps/docs
Build the workspace:
make buildStart the server:
make devRun integration tests:
make testRun the local benchmark harness:
make benchPublished benchmark details live in the docs:
- Methodology: https://envsync-cloud.github.io/chabi/docs/benchmarks/methodology/
- Results: https://envsync-cloud.github.io/chabi/docs/benchmarks/results/
On a Hetzner CCX23 machine (4 vCPU, 16GB RAM):
| Metric | DiceDB | Redis | Chabi |
|---|---|---|---|
| Throughput (ops/sec) | 15655 | 12267 | 35633 |
| GET p50 (ms) | 0.227327 | 0.270335 | 0.071167 |
| GET p90 (ms) | 0.337919 | 0.329727 | 0.108543 |
| SET p50 (ms) | 0.230399 | 0.272383 | 0.072703 |
| SET p90 (ms) | 0.339967 | 0.331775 | 0.111103 |
Install workspace dependencies:
pnpm installRun the docs app locally:
pnpm docs:devType-check the docs app:
pnpm docs:checkBuild the static export:
pnpm docs:buildpackages/chabi-core: RESP types, command implementations, storagepackages/chabi-server: Redis server, HTTP server, snapshots, metricspackages/chabi-redis-handler: experimental reusable RESP handlerpackages/chabi-http-handler: experimental reusable HTTP handlerapps/chabi-tester: integration testsapps/membench: Go benchmark harnessapps/docs: Next.js + Fumadocs static docs site