/redis-proxy

A Redis proxy built on TiKV

Primary LanguageGo

redis-proxy

A Redis proxy built on TiKV

How to use

Build the proxy:

go build -o main main.go

Run the proxy to connect the cluster whose PD adress is 127.0.0.1:2379:

./main

Connect to the proxy with redis-cli:

redis-cli -p 6380

Put and get key-values:

127.0.0.1:6380> set hello world!
OK
127.0.0.1:6380> get hello
"world!"