Menu

Tree [r1] /
 History

HTTPS access


File Date Author Commit
 doc 2013-08-31 tang641402697 [r1]
 m4 2013-08-31 tang641402697 [r1]
 scripts 2013-08-31 tang641402697 [r1]
 t 2013-08-31 tang641402697 [r1]
 AUTHORS 2013-08-31 tang641402697 [r1]
 COPYING 2013-08-31 tang641402697 [r1]
 ChangeLog 2013-08-31 tang641402697 [r1]
 Makefile.am 2013-08-31 tang641402697 [r1]
 Makefile.in 2013-08-31 tang641402697 [r1]
 NEWS 2013-08-31 tang641402697 [r1]
 README.md 2013-08-31 tang641402697 [r1]
 aclocal.m4 2013-08-31 tang641402697 [r1]
 assoc.c 2013-08-31 tang641402697 [r1]
 assoc.h 2013-08-31 tang641402697 [r1]
 cache.c 2013-08-31 tang641402697 [r1]
 cache.h 2013-08-31 tang641402697 [r1]
 compile 2013-08-31 tang641402697 [r1]
 config.guess 2013-08-31 tang641402697 [r1]
 config.h.in 2013-08-31 tang641402697 [r1]
 config.sub 2013-08-31 tang641402697 [r1]
 configure 2013-08-31 tang641402697 [r1]
 configure.ac 2013-08-31 tang641402697 [r1]
 daemon.c 2013-08-31 tang641402697 [r1]
 depcomp 2013-08-31 tang641402697 [r1]
 hash.c 2013-08-31 tang641402697 [r1]
 hash.h 2013-08-31 tang641402697 [r1]
 install-sh 2013-08-31 tang641402697 [r1]
 items.c 2013-08-31 tang641402697 [r1]
 items.h 2013-08-31 tang641402697 [r1]
 memcached.c 2013-08-31 tang641402697 [r1]
 memcached.h 2013-08-31 tang641402697 [r1]
 memcached.spec 2013-08-31 tang641402697 [r1]
 memcached_dtrace.d 2013-08-31 tang641402697 [r1]
 missing 2013-08-31 tang641402697 [r1]
 protocol_binary.h 2013-08-31 tang641402697 [r1]
 sasl_defs.c 2013-08-31 tang641402697 [r1]
 sasl_defs.h 2013-08-31 tang641402697 [r1]
 sizes.c 2013-08-31 tang641402697 [r1]
 slabs.c 2013-08-31 tang641402697 [r1]
 slabs.h 2013-08-31 tang641402697 [r1]
 solaris_priv.c 2013-08-31 tang641402697 [r1]
 stats.c 2013-08-31 tang641402697 [r1]
 stats.h 2013-08-31 tang641402697 [r1]
 testapp.c 2013-08-31 tang641402697 [r1]
 thread.c 2013-08-31 tang641402697 [r1]
 timedrun.c 2013-08-31 tang641402697 [r1]
 trace.h 2013-08-31 tang641402697 [r1]
 util.c 2013-08-31 tang641402697 [r1]
 util.h 2013-08-31 tang641402697 [r1]
 version.m4 2013-08-31 tang641402697 [r1]

Read Me

Memcached

Dependencies

Environment

Linux

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, but there's a backport at:

http://www.xmailserver.org/linux-patches/nio-improve.html

You want the epoll-lt patch (level-triggered).

Mac OS X

If you're using MacOS, you'll want libevent 1.1 or higher to deal with
a kqueue bug.

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)

Website

Contributing

Want to contribute? Up-to-date pointers should be at:

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.