https://github.com/iwanbk/redigoring
https://github.com/iwanbk/redigoring
consistent-hashing golang redigo redis
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iwanbk/redigoring
- Owner: iwanbk
- License: bsd-2-clause
- Created: 2018-10-10T15:12:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-13T15:19:12.000Z (over 7 years ago)
- Last Synced: 2025-01-12T20:45:57.713Z (over 1 year ago)
- Topics: consistent-hashing, golang, redigo, redis
- Language: Go
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# redigoring
`redigoring` is consistent hashing implementation for redigo [redis pool](https://godoc.org/github.com/gomodule/redigo/redis#Pool), used to distribute keys across multiple Redis servers using consistent hashing algorithm.
## Features
- distributes the keys using consistent hashing
- auto disable/enable pool based on the health check result
## References
- [Scaling Memcache at Facebook](https://www.usenix.org/system/files/conference/nsdi13/nsdi13-final170_update.pdf)
- [Consistent Hashing](https://en.wikipedia.org/wiki/Consistent_hashing)