yeeKV is a lightweight Redis-inspired key-value store, perfect for learning and experimentation. It supports core Redis features like strings, lists, and streams, and ensures thread-safe operations, so multiple clients can safely interact with the store concurrently. While it already works well, there’s still plenty of room for more features.
Features
- RESP Protocol: Works with Redis clients
- Multiple Data Structures: Strings, Lists, Streams
-
Key Expiration: Millisecond precision (
PX
) - Thread-Safe: Concurrent access is safe
Quick Start
Start the server:
go build -o yeekv main.go
./yeekv
Use the built-in CLI:
go build -o yeekv-cli cli.go
./yeekv-cli
Example session:
yeeKV> SET foo bar
OK
yeeKV> GET foo
bar
yeeKV> exit
bye~
Roadmap
- More Redis commands (DEL, EXPIRE, INCR…)
- Optimized storage & memory management
- Persistence (RDB / AOF)
- Cluster mode & Pub/Sub support
Top comments (0)