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.
Donate if you want to help us maintaining this project. Thank you! See this issue for details
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 |
- 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.
Active authors:
Emeritus authors:
Thanks:
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~ :)
- Codis作者谈codis: https://dbaplus.cn/news-141-270-1.html
- codis配置参考 https://www.jianshu.com/p/4902eec92002
- codis原理细节最佳文档 https://www.51cto.com/article/595255.html
- Sentinel模块 https://cloud.tencent.com/developer/article/1767297
- Proxy初始化 https://cloud.tencent.com/developer/article/1752972
- Proxy如何处理请求 https://cloud.tencent.com/developer/article/1752737
- slot迁移 https://cloud.tencent.com/developer/article/1760069 https://cloud.tencent.com/developer/article/1767296
- codis源码分析 https://blog.csdn.net/antony9118/category_7045910.html
- 故障转移实践 https://blog.csdn.net/yabingshi_tech/article/details/107835459