A high-performance, drop-in Redis replacement written in C++20 with RESP2/RESP3 support
10K+
A high-performance, drop-in replacement for Redis, written in modern C++20.
PeaDB aims to be behaviorally indistinguishable from Redis 7.2.5, using the same wire protocol, command surface, and edge-case semantics while targeting strong performance on modern multi-core systems.
.so loadingalsatianco/peadb-serverdocker run -d --name peadb -p 6379:6379 alsatianco/peadb-server:latest
Connect with any Redis client:
redis-cli -p 6379
127.0.0.1:6379> SET hello world
OK
127.0.0.1:6379> GET hello
"world"
PeaDB stores persistent data in /data inside the container. Mount a volume to keep data across restarts:
docker run -d --name peadb -p 6379:6379 -v peadb-data:/data alsatianco/peadb-server:latest
services:
peadb:
image: alsatianco/peadb-server:latest
ports:
- "6379:6379"
volumes:
- peadb-data:/data
restart: unless-stopped
volumes:
peadb-data:
Pass Redis-style flags directly to the container command:
docker run -d -p 6379:6379 alsatianco/peadb-server:latest \
--port 6379 \
--bind 0.0.0.0 \
--loglevel info \
--dir /data
Common options:
| Flag | Default | Description |
|---|---|---|
--port | 6379 | Listening port |
--bind | 0.0.0.0 | Bind address |
--loglevel | info | Log level: error, warn, info, debug |
--dir | /data | Data directory for snapshots and AOF |
--dbfilename | dump.rdb | RDB snapshot filename |
Published Docker tags at the time of writing:
alsatianco/peadb-server:latestalsatianco/peadb-server:0.1peadb user6379/data as the persistence volumeGitHub repository:
https://github.com/alsatianco/peadb/
See the LICENSE file in the source repository.
Content type
Image
Digest
sha256:c91fb9448…
Size
29.2 MB
Last updated
8 months ago
docker pull alsatianco/peadb-server