TinyKV is a fast, simple, and lightweight key-value store implemented in Go. It is compatible with the Redis CLI and supports the following commands:
-
Key-Value Operations
SETGETINCRDECRINCRBYDECRBYDEL
-
String Operations
APPEND
-
List Operations
LPUSHLRANGELPOPRPOPRPUSH
-
Hash Operations
HSETHGETHGETALLHDEL
- Clone the Repo:
git clone https://github.com/Ayan-sh03/TinyKV.git
- Run:
go mod tidy
- Build the project:
go build
- Start the server:
./tinykv.exe
- A Redis CLI compatible server will open at port 6379.
- Build the Docker image:
docker build -t tinykv . - Run the Docker container:
docker run -d -p 6379:6379 tinykv
Contributions are welcome! If you find a bug or have a feature request, please open an issue on the GitHub repository. If you'd like to contribute code, please fork the repository and submit a pull request.