Protocache is a lightweight in-memory cache server with gRPC support.
Go(1.24+)protoc(3.19+)GNU Make(4.0+)Docker(28.0+)
make build-allmake runprotocachecli is a command-line client for interacting with the cache server.
protocachecli -host localhost -port 50051 set foo bar
protocachecli -host localhost -port 50051 get foo
protocachecli -host localhost -port 50051 del foo
protocachecli -host localhost -port 50051 clearIf the value contains binary or non-UTF-8 data, it will be shown in base64 format.
protocachecli --helpgrpcurl -plaintext localhost:50051 listgrpcurl -plaintext localhost:50051 list cache.CacheServicemake test # Run all tests
make test-e2e # Run E2E tests
make bench # Run benchmarksYou can build and run Protocache via Docker.
make docker-buildThis uses the image name: patrostkowski/protocache
make docker-runThis runs the server and exposes port 50051 on your local machine.
Protocache is licensed under the Apache License 2.0.