Retour au classement
"Resharding" means migrating the data in one slot from one redis server to another, usually happens while increasing/decreasing the number of redis servers.
CodisLabs/codis
GoProxy based Redis cluster solution supporting pipeline and scaling dynamically
goredisredis-clusternosqlgolang
Indicateurs clés
Croissance des étoiles
Étoiles
13.2k
Forks
2.7k
Croissance hebdomadaire
—
Issues
286
5k10k
nov. 2014oct. 2016sept. 2018sept. 2020août 2022août 2024juil. 2026
ArtefactsGo Modules
go get github.com/CodisLabs/codisREADME

Codis is a proxy based high performance Redis cluster solution written in Go. It is production-ready and widely used at wandoujia.com and many companies. You can see Codis Releases for latest and most stable realeases.
Donation
Donate if you want to help us maintaining this project. Thank you! See this issue for details
Compared with Twemproxy and Redis Cluster
| Codis | Twemproxy | Redis Cluster | |
|---|---|---|---|
| resharding without restarting cluster | Yes | No | Yes |
| pipeline | Yes | Yes | No |
| hash tags for multi-key operations | Yes | Yes | Yes |
| multi-key operations while resharding | Yes | - | No(details) |
| Redis clients supporting | Any clients | Any clients | Clients have to support cluster protocol |
Other Features
- GUI website dashboard & admin tools
- Supports most of Redis commands, Fully compatible with Twemproxy(https://github.com/twitter/twemproxy)
- Proxies can register on zk/etcd, clients can avoid dead proxies, see "High Availability" section.
Tutorial
FAQ
High Availability
Architecture

Snapshots
Proxy

Slots

Group

Sentinel

Benchmarks
Authors
Active authors:
Emeritus authors:
Thanks:
License
Codis is licensed under MIT, see MIT-LICENSE.txt
You are welcome to use Codis in your product, and feel free to let us know~ :)
Dépôts similaires