ljr/wcmtools/memcached
ivan 8dbb1bb605 init 2019-02-06 00:49:12 +03:00
..
api init 2019-02-06 00:49:12 +03:00
doc init 2019-02-06 00:49:12 +03:00
frontends/gtk2-perl init 2019-02-06 00:49:12 +03:00
scripts init 2019-02-06 00:49:12 +03:00
test init 2019-02-06 00:49:12 +03:00
website init 2019-02-06 00:49:12 +03:00
AUTHORS init 2019-02-06 00:49:12 +03:00
BUILD init 2019-02-06 00:49:12 +03:00
CONTRIBUTORS init 2019-02-06 00:49:12 +03:00
COPYING init 2019-02-06 00:49:12 +03:00
ChangeLog init 2019-02-06 00:49:12 +03:00
LICENSE init 2019-02-06 00:49:12 +03:00
Makefile.am init 2019-02-06 00:49:12 +03:00
NEWS init 2019-02-06 00:49:12 +03:00
README init 2019-02-06 00:49:12 +03:00
TODO init 2019-02-06 00:49:12 +03:00
assoc.c init 2019-02-06 00:49:12 +03:00
autogen.sh init 2019-02-06 00:49:12 +03:00
configure.ac init 2019-02-06 00:49:12 +03:00
items.c init 2019-02-06 00:49:12 +03:00
memcached.c init 2019-02-06 00:49:12 +03:00
memcached.h init 2019-02-06 00:49:12 +03:00
slabs.c init 2019-02-06 00:49:12 +03:00

README

Dependencies:

   -- libevent, http://www.monkey.org/~provos/libevent/ (libevent-dev)

If using Linux, you need a kernel with epoll.  Sure, libevent will
work with normal select, but it sucks.

epoll isn't in Linux 2.4 yet, but there's a backport at:

    http://www.xmailserver.org/linux-patches/nio-improve.html
     
You want the epoll-lt patch (level-triggered).

Also, be warned that the -k (mlockall) option to memcached might be
dangerous when using a large cache.  Just make sure the memcached machines
don't swap.  memcached does non-blocking network I/O, but not disk.  (it
should never go to disk, or you've lost the whole point of it)

The memcached website is at:

    http://www.danga.com/memcached/