Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

codis

> 数据库
Open source

Proxy based Redis cluster solution supporting pipeline and scaling dynamically

13.2K stars0 likes0 views
WebsiteGitHub

About

Proxy based Redis cluster solution supporting pipeline and scaling dynamically

Codis is a proxy based high performance Redis cluster solution written in Go. It is production-ready and widely used at [wandoujia.com](http://wandoujia.com) and many companies. You can see [Codis Releases](https://github.com/CodisLabs/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](https://github.com/CodisLabs/codis/issues/976) ## Compared with Twemproxy and Redis Cluster
CodisTwemproxyRedis Cluster
resharding without restarting clusterYesNoYes
pipelineYesYesNo
hash tags for multi-key operationsYesYesYes
multi-key operations while reshardingYes-No(details)
Redis clients supportingAny clientsAny clientsClients have to support cluster protocol
"Resharding" means migrating the data in one slot from one redis server to another, usually happens while increasing/decreasing the number of redis servers. ## 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 [简体中文](doc/tutorial_zh.md) [English (WIP) ](doc/tutorial_en.md) ## FAQ [简体中文](doc/FAQ_zh.md) [English (WIP) ](FAQ_en.md) ## High Availability [简体中文](doc/tutorial_zh.md#3-jodis-与-ha) [English (WIP) ](doc/tutorial_en.md#ha) ## Architecture ## Snapshots Proxy Slots Group Sentinel ## Benchmarks [See benchmark results](doc/benchmark.md) ## Authors Active authors: * [@spinlock9](https://github.com/spinlock) [微博@斯宾洛克](http://weibo.com/spinlock9) * [@yangzhe1991](https://github.com/yangzhe1991) [微博@\_杨肉\_](http://weibo.com/yangzhe1991) Emeritus authors: * [@goroutine](https://github.com/ngaut) [微博@goroutine](http://weibo.com/u/1923497393) * [@c4pt0r](https://github.com/c4pt0r) [微博@Dongxu\_Huang](http://weibo.com/c4pt0r) Thanks: * [@ivanzhaowy](https://github.com/ivanzhaowy) * [@Apache9](https://github.com/apache9) [微博@Apache9](http://weibo.com/u/1876829375) ## 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~ :)*

Issues· 305 open

View all issuesOpen on GitHub
  • #1762

    文档地址被替换成了簧片网站

    Updated Jul 9, 2025
  • #1761

    文档地址被替换成簧片网站了

    Updated Jul 9, 2025
  • #1704

    Codis连接耗时监控

    Updated Jun 17, 2025
  • #1753

    Codis + DragonflyDB?

    Updated Feb 3, 2024
  • #1462

    Codis-HA的使用问题

    Updated Jan 18, 2024
  • #1752

    codis3.2.2的zookeeper被意外删除了 还有救?

    Updated Aug 4, 2023
  • #1749

    make 报错 /bin/sh: line 0: cd: jemalloc-4.4.0: No such file or directory

    Updated Jul 31, 2023
  • #1650

    codis集群迁移

    Updated Jun 28, 2023
  • #1751

    Codis-proxy Session closed by error: EOF

    Updated May 29, 2023
  • #1744

    请问有推荐的JAVA客户端吗?有一些命令JEDIS无法支持

    Updated May 18, 2023

> Tags

Gogogolangnosqlredis

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库