memagentmemcached代理小工具
magent 是一个简单,但非常有用的 memcached 缓存服务器的代理小程序。
主要功能:
- 保持到memcached服务器的多个连接
- 支持下列memcached指令
- get gets
- delete
- incr decr
- add set replace prepend append
- cas
- 基于 libevent 的事件驱动库
- 支持 ketama 算法
- 服务器备份
- unix domain socket
命令行参数:
-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 do not 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
评论