8000 GitHub - lintanghui/overlord: Overlord is a proxy based high performance Memcached and Redis solution written in Go.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Overlord is a proxy based high performance Memcached and Redis solution written in Go.

License

Notifications You must be signed in to change notification settings

lintanghui/overlord

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overlord Build Status GoDoc

Overlord is a proxy based high performance Memcached and Redis solution written in Go.
It is fast and lightweight and used primarily to horizontally scale your distributed caching architecture.
It is inspired by Twemproxy,Codis.

Quick Start

Download

go get github.com/felixhao/overlord

Build

cd $GOPATH/github.com/felixhao/overlord/cmd/proxy
go build

Run

./proxy -cluster=proxy-cluster-example.toml
Please first run a memcache server, which bind 11211 port.

Test

echo -e "set a_11 0 0 5\r\nhello\r" | nc 127.0.0.1 21211
# STORED
echo -e "get a_11\r" | nc 127.0.0.1 21211
# VALUE a_11 0 5
# hello
# END

Congratulations! You've just ran the overlord proxy.

Architecture

arch

Benchmark

Features

  • support memcache protocol
  • support redis protocol
  • connection pool for reduce number to backend caching servers
  • keepalive & failover
  • hash tag: specify the part of the key used for hashing
  • cache backup
  • hot reload: add/remove cluster/node...
  • QoS: limit/breaker...
  • L1&L2 cache
  • hot|cold cache???
  • broadcast???
  • doube hashing???

Contributing

Overlord is probably not perfect, but you are welcome to use it in your dev/test/product and so please let me know if anything feels wrong or incomplete.
I'm trying very hard to keep it simple and fast. And I always happy to receive pull requests. It follow the gitflow, please send you pull request to develop branch.

About

Overlord is a proxy based high performance Memcached and Redis solution written in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%
0