https://github.com/fpena2/tiny-kv
Simple key/value storage gRPC service
https://github.com/fpena2/tiny-kv
grpc rust tonic
Last synced: 2 months ago
JSON representation
Simple key/value storage gRPC service
- Host: GitHub
- URL: https://github.com/fpena2/tiny-kv
- Owner: fpena2
- Created: 2025-04-05T23:37:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-21T01:33:54.000Z (about 1 year ago)
- Last Synced: 2025-06-15T14:09:10.542Z (about 1 year ago)
- Topics: grpc, rust, tonic
- Language: Rust
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tiny-kv
Redis clone with a gRPC interface and reflection support.
Inspired by [tinykv](https://github.com/talent-plan/tinykv/blob/course/doc/project1-StandaloneKV.md)
## Setup
- Install [`protoc`](https://protobuf.dev/installation/)
```cmd
sudo apt install -y protobuf-compiler
```
- Install build essentials
```cmd
sudo apt install build-essential
```
## Build
```cmd
cargo build
```
## Testing
Run the service
```cmd
cargo run
```
Test the service by using [`grpcui`](https://github.com/fullstorydev/grpcui)
```cmd
grpcui -plaintext localhost:50051
```
## Features
- In-memory data storage
- Reflection support
- allows the server to shared the `grpc` contract with clients.