public
Fork of dustin/memcached
Description: This is where my memcached work lives before svn munges the changes.
Homepage: http://www.danga.com/memcached/
Clone URL: git://github.com/tmaesaka/memcached.git
name age message
file .gitignore Thu Mar 26 11:55:26 -0700 2009 Use git's version number for releases. This wi... [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 Tue Mar 31 15:30:38 -0700 2009 Changelog updates for 1.3.3. [dustin]
file HACKING Fri Mar 27 10:34:38 -0700 2009 Added a HACKING file. [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 Thu Mar 26 11:55:26 -0700 2009 Use git's version number for releases. This wi... [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 Tue Mar 24 12:59:47 -0700 2009 "stats reset" should reset eviction counters as... [Trond Norbye]
file assoc.h Mon Mar 02 01:15:34 -0800 2009 Refactor: moved the hash function from assoc.c ... [Trond Norbye]
file autogen.sh Thu Mar 26 11:55:26 -0700 2009 Use git's version number for releases. This wi... [dustin]
file configure.ac Thu Mar 26 11:55:26 -0700 2009 Use git's version number for releases. This wi... [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/ Sun Mar 29 10:23:52 -0700 2009 dumb hack to self-repair stuck slabs since 1.2... [dormando]
file globals.c Thu Mar 19 01:52:53 -0700 2009 start of the incr fix, rearranges a bunch, adds... [Brad Fitzpatrick]
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 internal_tests.c Thu Mar 19 01:52:54 -0700 2009 Added safe_strtou?l functions. Some of the tes... [dustin]
file items.c Loading commit data...
file items.h
file memcached.c
file memcached.h
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
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
file stats.h Sat Jan 03 00:09:11 -0800 2009 stats_prefix_* should not assume that all keys ... [Trond Norbye]
directory t/ Mon Mar 30 14:11:03 -0700 2009 two new troubleshooting stats accepting_conns ... [dormando]
file thread.c
file trace.h Mon Mar 02 11:59:11 -0800 2009 Added trace.h to the list of sources to be incl... [Trond Norbye]
file util.c Thu Mar 19 01:52:54 -0700 2009 Added safe_strtou?l functions. Some of the tes... [dustin]
file util.h Thu Mar 19 01:52:54 -0700 2009 Added safe_strtou?l functions. Some of the tes... [dustin]
file version.sh Thu Mar 26 11:55:26 -0700 2009 Use git's version number for releases. This wi... [dustin]
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/