A Redis-compatible, in-memory key-value store written in pure Go
Rogo is a lightweight, high-performance key-value database that implements Redis-like commands with Go's efficiency and concurrency model. Perfect for embedding in Go applications or learning database internals.
- ๐ Redis-compatible commands (
SET,GET,DEL,EXPIRE, etc.) - โก Blazing fast in-memory storage
- ๐งต Thread-safe with goroutine support
- ๐พ Optional persistence (AOF/RDB style)
- ๐ก Simple TCP server interface
- ๐ซ Zero external dependencies
# Install and run
go install github.com/yourname/rogo@latest
rogo --port 6380Connect using any Redis client:
redis-cli -p 6380
> SET foo bar
OK
> GET foo
"bar"docker build -t rogo .
docker run -p 6380:6380 rogo- Add persistence (AOF/RDB)
- Add more Redis-like commands
- Add more tests
- Add more documentation
PRs welcome! See CONTRIBUTING.md for guidelines.
MIT