magent是一款开源的Memcached代理服务器软件。
命令参数:
-h this message -u uid -g gid -p port, default is 11211. (0 to disable tcp support) -s ip:port, set memcached server ip and port -b ip:port, set backup memcached server ip and port -l ip, local bind ip address, default is 0.0.0.0 -n number, set max connections, default is 4096 -D don’t go to background -k use ketama key allocation algorithm -f file, unix socket path to listen on. default is off -i number, max keep alive connections for one memcached server, default is 20 -v verbose
使用方法: magent -s 10.1.2.1 -s 10.1.2.2:11211 -b 10.1.2.3:14000