public
Description: Memcached -- you all use it. Get it here.
Homepage: http://www.danga.com/memcached/
Clone URL: git://github.com/dustin/memcached.git
sgrimm (author)
Mon Apr 16 08:34:03 -0700 2007
commit  111846a42f3a37af17486f4d94c27ace266b45bd
tree    6a3b5a81e147e26321f88ff679d345cb3cea025f
parent  6d10c112651a4b97a28a62ced6ed4b20ac4672c9
name age message
file AUTHORS Wed Mar 22 22:41:44 -0800 2006 moving server stuff down into its own directory [bradfitz]
file BUILD Wed Mar 22 22:41:44 -0800 2006 moving server stuff down into its own directory [bradfitz]
file CONTRIBUTORS Wed Mar 22 22:41:44 -0800 2006 moving server stuff down into its own directory [bradfitz]
file COPYING Wed Mar 22 22:41:44 -0800 2006 moving server stuff down into its own directory [bradfitz]
file ChangeLog Wed Jun 11 20:36:09 -0700 2008 make -k work under daemon mode (-d). [dormando]
file LICENSE Wed Mar 22 22:41:44 -0800 2006 moving server stuff down into its own directory [bradfitz]
file Makefile.am Fri Nov 16 01:13:41 -0800 2007 Allow running tests in a build directory differ... [dormando]
file NEWS Wed Mar 22 22:41:44 -0800 2006 moving server stuff down into its own directory [bradfitz]
file README Mon Apr 16 17:24:53 -0700 2007 Updated docs to reflect that memcached works fi... [plindner]
file TODO Sat Sep 02 20:18:26 -0700 2006 merge end of facebook branch into trunk, after ... [bradfitz]
file assoc.c Wed Jun 18 11:30:22 -0700 2008 Use calloc for allocating the hash table vs. ma... [dustin]
file assoc.h Mon Apr 16 08:34:03 -0700 2007 Merge multithreaded into trunk, commit #2 (firs... [sgrimm]
file autogen.sh Mon May 07 12:50:54 -0700 2007 fix for freebsd 6.x (and perhaps others) [plindner]
file configure.ac Sun Mar 02 21:08:40 -0800 2008 Version bump (shipit's having trouble with it),... [dormando]
file daemon.c Sat Jul 07 17:01:52 -0700 2007 Fix minor style inconsistencies and add some mi... [sgrimm]
directory devtools/ Thu Feb 21 20:57:41 -0800 2008 Implement 'noreply' option for update commands.... [dormando]
directory doc/ Mon Mar 03 10:45:30 -0800 2008 Document a few of the stats commands. [dormando]
file items.c Sun Mar 02 21:08:36 -0800 2008 per-stat-class tracking of evictions and out of... [dormando]
file items.h Mon Jul 09 23:43:58 -0700 2007 Minimal doxygen configuration [plindner]
file memcached.c Thu Jun 19 08:29:10 -0700 2008 Another buffer overrun fix. [Cosimo Streppone]
file memcached.h Sun Mar 02 21:08:31 -0800 2008 Don't re-calculate the slab class id for slabs_... [dormando]
directory scripts/ Fri Oct 05 09:55:40 -0700 2007 Allow memcached-tool dump mode to output keys c... [sgrimm]
file slabs.c Sun Mar 02 21:08:31 -0800 2008 Don't re-calculate the slab class id for slabs_... [dormando]
file slabs.h Sun Mar 02 21:08:31 -0800 2008 Don't re-calculate the slab class id for slabs_... [dormando]
file stats.c Mon Jul 09 07:28:54 -0700 2007 gcc -pedantic changes, comments, signed/unsigne... [plindner]
file stats.h Mon Apr 16 16:33:43 -0700 2007 first pass at pedantic ansi-c changes, use bool... [plindner]
directory t/ Thu Feb 21 20:57:41 -0800 2008 Implement 'noreply' option for update commands.... [dormando]
file thread.c Sun Mar 02 21:08:31 -0800 2008 Don't re-calculate the slab class id for slabs_... [dormando]
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/