Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Proxy based Redis cluster solution supporting pipeline and scaling dynamically

License

MIT, MIT licenses found

Licenses found

MIT
MIT-LICENSE.txt
MIT
wandoujia_license.txt
NotificationsYou must be signed in to change notification settings

coder-java-caicai/codis

 
 

Repository files navigation

#Codis - yet another fast distributed solution for Redis

GitterBuild Status

Codis is a proxy based high performance Redis cluster solution written in Go/C, an alternative to Twemproxy.

Codis supports multiple stateless proxy with multiple redis instances.

Codis is engineered to elastically scale, Easily add or remove redis or proxy instances on-demand/dynamicly.

Codis is production-ready and is widely used bywandoujia.com.

##Features

  • Auto rebalance
  • Extremely simple to use
  • Support both redis or rocksdb transparently
  • GUI dashboard & admin tools
  • Supports most of Redis commands, Fully compatible with twemproxy(https://github.com/twitter/twemproxy)
  • Native Redis clients are supported
  • Safe and transparent data migration, Easily add or remove nodes on-demand.
  • Command-line interface is also provided
  • RESTful APIs

Build and Install

  • Install go & ZooKeeper
  • go get github.com/wandoulabs/codis
  • cd codis
  • ./bootstrap.sh
  • make gotest
  • cd sample
  • follow instructions in usage.md

Tutorial

简体中文
English

FAQ

简体中文
English (WIP)

Performance (Benchmark)

Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz

MemTotal: 16376596 kB

Twemproxy:
redis-benchmark -p 22121 -c 500 -n 5000000 -P 100 -r 10000 -t get,set

Codis:
redis-benchmark -p 19000 -c 500 -n 5000000 -P 100 -r 10000 -t get,set

Result:

main

简体中文
English (WIP)

For Java users who want to support HA

[Jodis (HA Codis Connection Pool based on Jedis)] (https://github.com/wandoulabs/codis/tree/master/extern/jodis)

Architecture

architecture

Snapshots

Dashboardmain

Migratemigrate

Slotsslots

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

MIT, MIT licenses found

Licenses found

MIT
MIT-LICENSE.txt
MIT
wandoujia_license.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go73.9%
  • JavaScript8.3%
  • HTML7.2%
  • Python4.7%
  • Shell4.7%
  • CSS0.9%
  • Makefile0.3%

[8]ページ先頭

©2009-2025 Movatter.jp