Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
memcached development tree
C Perl D Other
Failed to load latest commit information.
devtools whitespace fix for freebsd
doc Fix typo in doc/protocol.txt
m4 Backporting AC_PROG_CC_C99 macro for redhat.
scripts Implement settings and sizes stats. Show information about empty slabs.
t add vim swap file to .gitignore and t/whitespace.t's exempt list
.gitignore add vim swap file to .gitignore and t/whitespace.t's exempt list
.shipit Checking in changes prior to tagging of version 1.2.4. Changelog diff…
AUTHORS autoconf/automake support from evan
BUILD better build instructions
CONTRIBUTING Add links to http://contributing.appspot.com/memcached
COPYING add a duplicate of the LICENSE file so GNU automake doesn't assume it…
ChangeLog fix typos
Doxyfile fix typos
HACKING Add links to http://contributing.appspot.com/memcached
LICENSE change from GPL to BSD.
Makefile.am Make hash table algorithm selectable
NEWS danga.com -> memcached.org in a few spots.
README.md Use Markdown for README.
assoc.c Pause all threads while swapping hash table.
assoc.h use item lock instead of global lock when hash expanding.
autogen.sh Added support for automake 1.13 & 1.14
cache.c totally destroy test caches
cache.h Added documentation on the cache interface
configure.ac Reworked C-alignment check to be clear-as-day.
daemon.c Build fixes for ubuntu 8.10/64.
globals.c slab reassignment
hash.c Make hash table algorithm selectable
hash.h Make hash table algorithm selectable
items.c Fix off-by-one causing segfault in lru_crawler
items.h Pause all threads while swapping hash table.
jenkins_hash.c fix typos
jenkins_hash.h Make hash table algorithm selectable
memcached.c gatkq: return key in response
memcached.h Pause all threads while swapping hash table.
memcached.spec.in danga.com -> memcached.org in a few spots.
memcached_dtrace.d Define touch command probe for DTrace support
murmur3_hash.c fix typos
murmur3_hash.h Make hash table algorithm selectable
protocol_binary.h fix typos
sasl_defs.c fix enable-sasl-pwdb
sasl_defs.h Specify hostname in sasl_server_new.
sizes.c Created a tool to show us the sizes of various data structures.
slabs.c Make hash table algorithm selectable
slabs.h item locks now lock hash table buckets
solaris_priv.c Remove compilation errors from gcc on Solaris
stats.c Make hash table algorithm selectable
stats.h stats_prefix_* should not assume that all keys are zero-terminated
testapp.c gatkq: return key in response
thread.c Fix issue #369 - uninitialized stats_lock
timedrun.c bug237: Don't compute incorrect argc for timedrun
trace.h Backport binary TOUCH/GAT/GATQ commands
util.c Issue 221: Increment treats leading spaces as 0
util.h Issue: #83: Refactor: use htonll or ntohll if the os provides them
version.pl Make autoversioning/spec gen work better.
version.sh Generate the memcached.spec along with the version number.

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.