codis 0,8,0,6,4,11,0,3 travis-ci docker

Proxy based Redis cluster solution supporting pipeline and scaling dynamically

2 years after MIT

Gitter Build Status

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

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

简体中文 English (WIP)

FAQ

简体中文 English (WIP)

High Availability

简体中文 English (WIP)

Architecture

architecture

Snapshots

Proxy proxy

Slots slots

Group group

Sentinel sentinel

Benchmarks

See benchmark results

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~ :)

Related Repositories

big-data-made-easy

big-data-made-easy

Big Data Made Easy ...

awesome-redis

awesome-redis

A curated list of amazingly awesome redis and redis ecosystem resources. ...

codis-ha

codis-ha

Simple HA tool for codis(https://github.com/wandoulabs/codis) ...

jodis

jodis

A java client for codis based on Jedis and Curator ...

zyredis

zyredis

it is a redis client which support failover and codis ...


Top Contributors

spinlock ngaut yangzhe1991 huangdongxu c4pt0r Apache9 kmiku7 tobegit3hub coocood kadashu anywhy gitter-badger bigpyer elvuel Masterlvng tiancaiamao

Releases

-   3.1-alpha zip tar
-   3.0.4 zip tar
-   3.0.3 zip tar
-   3.0.2 zip tar
-   3.0.1 zip tar
-   3.0-alpha zip tar
-   2.0.14 zip tar
-   2.0.13 zip tar
-   2.0.12 zip tar
-   2.0.11 zip tar
-   2.0.10 zip tar
-   2.0.9 zip tar
-   2.0.8 zip tar
-   2.0.7 zip tar
-   2.0.6 zip tar
-   2.0.5 zip tar
-   2.0.4 zip tar
-   2.0.3 zip tar
-   2.0.2 zip tar
-   2.0.1 zip tar
-   2.0.0 zip tar
-   1.9.8 zip tar
-   1.9.7 zip tar
-   1.9.6 zip tar
-   1.9.5 zip tar
-   1.9.4 zip tar
-   1.9.3 zip tar
-   1.9.2 zip tar
-   1.9.1 zip tar