标签:
twemproxy 配置文件
alpha:
listen: 192.168.182.128:22121
hash: fnv1a_64
distribution: ketama
auto_eject_hosts: true
redis: true
server_retry_timeout: 30000
server_failure_limit: 1
servers:
- 192.168.182.128:6379:1 master0
- 192.168.182.129:6379:1 master1
启动命令
sudo /usr/local/twemproxy/sbin/nutcracker -d -c /usr/local/twemproxy/conf/nutcracker.yml -p /usr/local/twemproxy/run/redisproxy.pid -o /usr/local/twemproxy/run/redisproxy.log
标签:
原文地址:http://www.cnblogs.com/chutaishan/p/5558878.html