Rusty Store is a Redis clone implemented in Rust. It leverages the RESP protocol via a TCP server to provide a Redis-compatible key-value store.
demo.mov
- Redis-Compatible: Works with
redis-cliand Redis client libraries. - Asynchronous Multithreading: Handles multiple clients concurrently.
- Commands Supported:
SET,GET, and more. - Docker Support: Available as a Docker image.
To pull and run Rusty Store using Docker, run:
docker pull chenow/rusty-store
docker run -p 6379:6379 chenow/rusty-storeFor Nix users, you can install Rusty Store locally using the flake.nix file:
nix develop
make runTo ensure everything is working correctly, you can run the provided tests:
make testOnce Rusty Store is running, you can interact with it using redis-cli or any Redis-compatible client library.
redis-cli
127.0.0.1:6379> SET mykey myvalue
OK
127.0.0.1:6379> GET mykey
"myvalue"This project is licensed under the MIT License - see the LICENSE file for details.