Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
memcached development tree

This branch is 132 commits behind memcached:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
devtools
doc
m4
scripts
t
.gitignore
.shipit
AUTHORS
BUILD
CONTRIBUTING
COPYING
ChangeLog
Doxyfile
HACKING
LICENSE
Makefile.am
NEWS
README.md
assoc.c
assoc.h
autogen.sh
cache.c
cache.h
configure.ac
daemon.c
globals.c
hash.c
hash.h
items.c
items.h
memcached.c
memcached.h
memcached.spec.in
memcached_dtrace.d
protocol_binary.h
sasl_defs.c
sasl_defs.h
sizes.c
slabs.c
slabs.h
solaris_priv.c
stats.c
stats.h
testapp.c
thread.c
timedrun.c
trace.h
util.c
util.h
version.pl
version.sh

README.md

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:

Something went wrong with that request. Please try again.