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

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.danga.com/memcached/