Skip to content

A simple distributed redigo client implement with hash ring.

License

Notifications You must be signed in to change notification settings

sysulq/redigo-ring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redigo-ring

A simple distributed redigo client implement with hash ring, inspired by go-redis.

example

ring := rediring.NewRing(&redix.RingOptions{
    Addrs: []string{"127.0.0.1:6379", "127.0.0.1:6380"},
})
conn := ring.Pick(key).Get()
defer conn.Close()

conn.Do("INFO")

About

A simple distributed redigo client implement with hash ring.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages