codis

module
v0.0.0-...-b3805cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2014 License: MIT

README

#Codis - yet another fast distributed solution for Redis

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 by wandoujia.com.

##Features

  • Auto rebalance
  • Extremely simple to use
  • 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
  • go get github.com/wandoulabs/codis
  • cd codis
  • ./bootstrap.sh
  • make gotest
  • cd sample
  • follow instructions in usage.md

Tutorial

简体中文
English (WIP)

FAQ

简体中文
English (WIP)

Performance

TBD

Architecture

Snapshot1

Snapshots

Dashboard main

Migrate migrate

Slots slots

Authors

Thanks:

License

Codis is licensed under MIT, see MIT-LICENSE.txt

Directories

Path Synopsis
cmd
ext
pkg
proxy/redispool
Package redispool exposes a single RedisConnection object with wrapped access to a single redis connection, and a ConnectionPool object to pool these RedisConnections.
Package redispool exposes a single RedisConnection object with wrapped access to a single redis connection, and a ConnectionPool object to pool these RedisConnections.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL