A high-performance, Redis-compatible key-value server written in Rust.
curl -fsSL https://raw.githubusercontent.com/deyoyk/crabkv/main/install.sh | bashcurl -fsSL https://raw.githubusercontent.com/deyoyk/crabkv/main/install.sh | bash -s -- --port 6380curl -fsSL https://raw.githubusercontent.com/deyoyk/crabkv/main/install.sh | bash -s -- --autostartInvoke-WebRequest -Uri "https://raw.githubusercontent.com/deyoyk/crabkv/main/install.ps1" -OutFile "install.ps1"; .\install.ps1| Flag | Description | Default |
|---|---|---|
-p, --port |
Port to listen on | 6379 |
-d, --dir |
Install directory | ~/.local/bin |
-a, --autostart |
Set up OS-level autostart | off |
-v, --version |
Specific version to install | latest |
redis-cli -p 6379Compatible with any Redis client library (ioredis, redis-py, Jedis, etc.).
git clone https://github.com/deyoyk/crabkv.git
cd crabkv
cargo build --release
./target/release/crabkv -p 6379- RESP protocol (Redis serialization protocol)
- String, List, Hash, Set, Sorted Set, Stream commands
- TTL / expiration
- Pipelining
- Pub/Sub
- Persistence (AOF)
- Job queues
- Metrics endpoint
MIT OR Apache-2.0