dustin / memcached

Memcached -- you all use it. Get it here.

This URL has Read+Write access

dustin (author)
Fri May 16 23:22:57 -0700 2008
commit  bb4bc68c350f57b8748d47b3ff77b50bbac9c933
tree    718a2bdc48664090f5bcd147f1eca42b18a798f3
parent  d8e7fcb2a62908510eae38fbe36b42352f977b5b
name age message
file .shipit Thu Dec 06 01:38:49 -0800 2007 Checking in changes prior to tagging of version... [dormando]
file AUTHORS Fri Jun 13 19:27:53 -0700 2003 autoconf/automake support from evan git-svn-i... [Brad Fitzpatrick]
file BUILD Thu Jul 31 16:37:04 -0700 2003 better build instructions git-svn-id: http://... [Brad Fitzpatrick]
file COPYING Thu Aug 05 20:04:15 -0700 2004 add a duplicate of the LICENSE file so GNU auto... [Brad Fitzpatrick]
file ChangeLog Loading commit data...
file LICENSE Thu Aug 05 20:04:15 -0700 2004 add a duplicate of the LICENSE file so GNU auto... [Brad Fitzpatrick]
file Makefile.am Fri Nov 16 01:13:41 -0800 2007 Allow running tests in a build directory differ... [Tomash Brechko]
file NEWS Sat Jun 14 16:07:09 -0700 2003 auto* changes, update to version 1.0.2 git-sv... [Brad Fitzpatrick]
file README Mon Apr 16 17:24:53 -0700 2007 Updated docs to reflect that memcached works fi... [Paul Lindner]
file TODO Sat Sep 02 20:18:26 -0700 2006 merge end of facebook branch into trunk, after ... [Brad Fitzpatrick]
file assoc.c Mon Jul 09 23:30:07 -0700 2007 conn_add_to_freelist returns bool git-svn-id: ... [Paul Lindner]
file assoc.h Mon Apr 16 08:34:03 -0700 2007 Merge multithreaded into trunk, commit #2 (firs... [Steven Grimm]
file autogen.sh Mon Dec 22 12:35:53 -0800 2008 Add support for newer automake's. Patch provid... [dormando]
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... [Steven Grimm]
directory devtools/ Thu Feb 21 20:57:41 -0800 2008 Implement 'noreply' option for update commands.... [Tomash Brechko]
directory doc/ Mon Mar 03 10:45:30 -0800 2008 Document a few of the stats commands. git-svn... [dormando]
file items.c
file items.h Mon Jul 09 23:43:58 -0700 2007 Minimal doxygen configuration git-svn-id: http... [Paul Lindner]
file memcached.c
file memcached.h
file memcached.spec Sun Mar 02 21:08:40 -0800 2008 Version bump (shipit's having trouble with it),... [dormando]
directory scripts/ Fri Oct 05 09:55:40 -0700 2007 Allow memcached-tool dump mode to output keys c... [Steven Grimm]
file slabs.c
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... [Paul Lindner]
file stats.h Mon Apr 16 16:33:43 -0700 2007 first pass at pedantic ansi-c changes, use bool... [Paul Lindner]
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).

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/