Skip to content

A redis proxy middleware implemented in go language, supports sharding by key

Notifications You must be signed in to change notification settings

cyub/redis-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-proxy

A redis proxy middleware implemented in go language, supports sharding by key

It only implements basic functions, just for testing and verification, without considering performance, and many places are imperfect

build

cd cmd/redis-proxy
go build -v .

run

./redis-proxy // listen at 6380 port

or 
./redis-proxy --port=6380 --cluster-addr=localhost:7000,localhost:7001

test

redis-cli -p 6380
or 
redis-benchmark -p 6380 -n 1000 -c 20

About

A redis proxy middleware implemented in go language, supports sharding by key

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages