1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-29 18:21:24 +00:00
dockerfiles/twemproxy
2022-03-14 21:00:10 +05:30
..
data add twemproxy 2019-11-07 14:03:03 +08:00
docker-compose.yml add twemproxy 2019-11-07 14:03:03 +08:00
Dockerfile Bump up twemproxy 2022-03-14 21:00:10 +05:30
README.md update 2019-11-21 10:54:21 +08:00

twemproxy

twemproxy (pronounced "two-em-proxy"), aka nutcracker is a fast and lightweight proxy for memcached and redis protocol. It was built primarily to reduce the number of connections to the caching servers on the backend. This, together with protocol pipelining and sharding enables you to horizontally scale your distributed caching architecture.

up and running

$ docker-compose up -d

$ curl http://127.0.0.1:22222

$ docker-compose exec redis redis-cli -h twemproxy
twemproxy:6379> ping
PONG
twemproxy:6379> set hello world
OK
twemproxy:6379> get hello
"world"
twemproxy:6379> del hello
(integer) 1

$ tail -f data/twemproxy/logs/nutcracker.log