Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
memcached development tree
C Perl D XML Other
Pull request Compare This branch is 1 commit ahead, 207 commits behind memcached:master.
Failed to load latest commit information.
devtools adjust clean-whitespace to match t/whitespace
doc Fixed a minor, but embarrassing, protocol doc typo.
m4 Backporting AC_PROG_CC_C99 macro for redhat.
scripts start-memcached writing wrong PID to $pidfile
t Add new stats expired_unfetched, evicted_unfetched
.gitignore Generate the memcached.spec along with the version number.
.shipit
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 Issue 131 - ChangeLog is outdated
Doxyfile Exclude testapp.c instead of internal_tests.c from docs.
HACKING Add links to http://contributing.appspot.com/memcached
LICENSE change from GPL to BSD.
Makefile.am Add sasl_defs.h to the sources to include it in make dist
NEWS auto* changes, update to version 1.0.2
README Add links to http://contributing.appspot.com/memcached
assoc.c Allow setting initial size of the hash table
assoc.h Allow setting initial size of the hash table
autogen.sh Fix autogen failure when unable to find supported command.
cache.c Issue 161 incorrect allocation in cache_create
cache.h Added documentation on the cache interface
configure.ac Fix -rpath for macosx
daemon.c Build fixes for ubuntu 8.10/64.
globals.c start of the incr fix, rearranges a bunch, adds util, tests, etc
hash.c Refactor: moved the hash function from assoc.c to hash.c
hash.h Refactor: moved the hash function from assoc.c to hash.c
items.c upgrade stats items counters to 64bit
items.h Backport binary TOUCH/GAT/GATQ commands
memcached.c Add missing LRU bumps to binary get and others
memcached.h Add new stats expired_unfetched, evicted_unfetched
memcached.spec.in Make autoversioning/spec gen work better.
memcached_dtrace.d Updated documentation comments for DTrace probes.
protocol_binary.h Add binary GATK/GATKQ
sasl_defs.c Add support for --enable-sasl-pwdb
sasl_defs.h Enforce some hard limits on SASL mechanism length.
sizes.c Created a tool to show us the sizes of various data structures.
slabs.c Backport binary TOUCH/GAT/GATQ commands
slabs.h Issue 163: Buggy mem_requested values
solaris_priv.c Remove compilation errors from gcc on Solaris
stats.c
stats.h stats_prefix_* should not assume that all keys are zero-terminated
testapp.c Add binary GATK/GATKQ
thread.c experimental maxconns_fast option
timedrun.c Print a message on stderr when the timeout occurs
trace.h
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

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

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

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

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)

The memcached website is at:

    http://www.memcached.org

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

    http://contributing.appspot.com/memcached
Something went wrong with that request. Please try again.