Skip to content
forked from CodisLabs/codis

Proxy based Redis cluster solution supporting pipeline and scaling dynamically

License

Notifications You must be signed in to change notification settings

cloudxaas/codis

 
 

Repository files navigation

Fork of codis with updates to use options 1024, 4096, 8192, 16384 or 32768 or 65536 nodes instead of just 1024

TODO

  1. faster connection using redhub
  2. higher throughput, lower latency and to maintain professionally.

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

About

Proxy based Redis cluster solution supporting pipeline and scaling dynamically

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • Go 74.0%
  • JavaScript 8.3%
  • HTML 7.2%
  • Python 4.7%
  • Shell 4.7%
  • CSS 0.8%
  • Other 0.3%