This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
magent /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Mar 25 16:11:34 -0700 2009 | |
| |
AUTHORS | Wed Mar 25 16:11:34 -0700 2009 | |
| |
COPYING | Wed Mar 25 16:11:34 -0700 2009 | |
| |
ChangeLog | Wed Mar 25 16:11:34 -0700 2009 | |
| |
INSTALL | Wed Mar 25 16:11:34 -0700 2009 | |
| |
Makefile.am | Wed Mar 25 16:11:34 -0700 2009 | |
| |
Makefile.in | Wed Mar 25 16:11:34 -0700 2009 | |
| |
NEWS | Wed Mar 25 16:11:34 -0700 2009 | |
| |
README | Wed Mar 25 14:24:59 -0700 2009 | |
| |
aclocal.m4 | Wed Mar 25 16:11:34 -0700 2009 | |
| |
config.h.in | Wed Mar 25 16:11:34 -0700 2009 | |
| |
configure | Wed Mar 25 16:11:34 -0700 2009 | |
| |
configure.ac | Wed Mar 25 16:11:34 -0700 2009 | |
| |
depcomp | Wed Mar 25 16:11:34 -0700 2009 | |
| |
install-sh | Wed Mar 25 16:11:34 -0700 2009 | |
| |
ketama.c | Sat Oct 04 19:11:57 -0700 2008 | |
| |
ketama.h | Wed Sep 10 07:58:31 -0700 2008 | |
| |
magent.c | Wed Mar 25 16:11:34 -0700 2009 | |
| |
missing | Wed Mar 25 16:11:34 -0700 2009 |
README
magent is a simple but useful proxy program for memcached servers. http://code.google.com/p/memagent/ Features: * keeps connections to memcached servers * supports the following memcached commands: get, gets, delete, incr, decr, add, set, replace, prepend, append, cas. * event-driven by using libevent library * supports ketama algorithm * backup servers farm * unix domain socket * new BSD license (http://www.opensource.org/licenses/bsd-license.php) Usage: -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 Todo: * server health check Examples: magent -s 10.1.2.1 -s 10.1.2.2:11211 -b 10.1.2.3:14000 Notes: * current magent's speed is about 80% of memcached's. finding way to speed it up (not good) * adding backup server does no harm to magent's performance. (good) * magent's cpu usage is less than memcached's and has very little memory usage. (good)







