public
Description: Memcached -- you all use it. Get it here.
Homepage: http://memcached.org/
Clone URL: git://github.com/dustin/memcached.git
name age message
file .gitignore Tue Mar 10 12:59:07 -0700 2009 Created a tool to show us the sizes of various ... [dustin]
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 Wed Mar 11 14:53:24 -0700 2009 Some changelog updates. I'd really rather just... [dustin]
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 Tue Mar 10 12:59:07 -0700 2009 Created a tool to show us the sizes of various ... [dustin]
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 Fri Mar 06 16:40:31 -0800 2009 Remove some cvs/svn junk from files. [dustin]
file assoc.h Mon Mar 02 01:15:34 -0800 2009 Refactor: moved the hash function from assoc.c ... [Trond Norbye]
file autogen.sh Mon Dec 22 12:35:53 -0800 2008 Add support for newer automake's. Patch provid... [dormando]
file configure.ac Wed Mar 11 14:55:06 -0700 2009 Updated version numbers. [dustin]
file daemon.c Tue Jan 20 11:23:14 -0800 2009 Build fixes for ubuntu 8.10/64. gcc seems to h... [dustin]
directory devtools/ Thu Feb 21 20:57:41 -0800 2008 Implement 'noreply' option for update commands.... [Tomash Brechko]
directory doc/ Wed Mar 11 14:28:34 -0700 2009 Reformatted protocol-binary-range artwork to fi... [dustin]
file hash.c Mon Mar 02 01:15:34 -0800 2009 Refactor: moved the hash function from assoc.c ... [Trond Norbye]
file hash.h Mon Mar 02 01:15:34 -0800 2009 Refactor: moved the hash function from assoc.c ... [Trond Norbye]
file items.c Fri Mar 06 16:40:31 -0800 2009 Remove some cvs/svn junk from files. [dustin]
file items.h Wed Feb 11 18:03:14 -0800 2009 Update CAS on non-replace incr/decr. This fixe... [dustin]
file memcached.c Tue Mar 10 12:59:14 -0700 2009 Have just one field for a connection's current ... [dustin]
file memcached.h Tue Mar 10 12:59:14 -0700 2009 Have just one field for a connection's current ... [dustin]
file memcached.spec Wed Mar 11 14:55:06 -0700 2009 Updated version numbers. [dustin]
file memcached_dtrace.d Sat Jan 03 00:09:11 -0800 2009 Add DTrace probes to the binary protocol [Trond Norbye]
file protocol_binary.h Thu Jan 22 08:53:34 -0800 2009 The binary protocol does not implement noreply ... [Trond Norbye]
directory scripts/ Mon Mar 02 08:48:26 -0800 2009 memcached-tool dump command fixed for expired/e... [steveyen]
file sizes.c Tue Mar 10 12:59:07 -0700 2009 Created a tool to show us the sizes of various ... [dustin]
file slabs.c Sat Mar 07 14:39:59 -0800 2009 Added CAS stats. CAS stats break down into thr... [dustin]
file slabs.h Thu Mar 05 05:08:17 -0800 2009 Refactor: move the slabs mutex (and all usage o... [Trond Norbye]
file solaris_priv.c Tue Mar 03 10:43:04 -0800 2009 Drop privileges when running on Solaris [Trond Norbye]
file stats.c Fri Mar 06 16:40:31 -0800 2009 Remove some cvs/svn junk from files. [dustin]
file stats.h Sat Jan 03 00:09:11 -0800 2009 stats_prefix_* should not assume that all keys ... [Trond Norbye]
directory t/ Wed Mar 11 12:48:46 -0700 2009 Slow down the add test a bit. Solaris with dtr... [dustin]
file thread.c Tue Mar 10 08:02:07 -0700 2009 Moved conn_lock and suffix_lock out of thread.c... [Trond Norbye]
file trace.h Mon Mar 02 11:59:11 -0800 2009 Added trace.h to the list of sources to be incl... [Trond Norbye]
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/