dormando / memcached forked from memcached/memcached

memcached development tree

This URL has Read+Write access

Colin Pitrat (author)
Thu Oct 29 18:39:42 -0700 2009
dustin (committer)
Fri Oct 30 16:18:53 -0700 2009
commit  780a257b007e34423f0e87f40d45133fdd7e7e1f
tree    e1c783df2f1b284f976b89c79b7bb6ade7efa8b7
parent  95c8220d6900d95a84ee4033ac4ff75265fe7979
name age message
file .gitignore Sat Aug 29 15:34:00 -0700 2009 Generate the memcached.spec along with the vers... [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 Sat Apr 11 21:49:32 -0700 2009 Changelog update from 1.2.8 fixes. [dormando]
file Doxyfile Fri Apr 17 16:27:17 -0700 2009 Exclude testapp.c instead of internal_tests.c f... [dustin]
file HACKING Wed Oct 07 19:19:02 -0700 2009 Allow using an external daemon for perl tests. ... [dormando]
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 Sun Oct 25 14:36:52 -0700 2009 Add sasl_defs.h to the sources to include it in... [Trond Norbye]
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 Sep 14 11:31:40 -0700 2009 README whitespace cleanup. [dustin]
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 cache.c Fri Apr 17 16:15:52 -0700 2009 Create a generic cache for objects of same size... [Trond Norbye]
file cache.h Fri Apr 17 16:15:58 -0700 2009 Added documentation on the cache interface [Trond Norbye]
file configure.ac Loading commit data...
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/
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 items.c Wed Oct 07 10:11:25 -0700 2009 new per-slab item stat evicted_nonzero If an i... [dormando]
file items.h Thu Sep 10 15:07:07 -0700 2009 Kill off redundant item_init. These are automa... [dustin]
file memcached.c
file memcached.h
file memcached.spec.in
file memcached_dtrace.d Wed Aug 19 23:40:56 -0700 2009 Updated documentation comments for DTrace probe... [ingenthr]
file protocol_binary.h
file sasl_defs.c Sun Oct 25 13:19:14 -0700 2009 SASL auth support. [dustin]
file sasl_defs.h Sun Oct 25 13:19:25 -0700 2009 Enforce some hard limits on SASL mechanism length. [dustin]
directory scripts/
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 Fri Oct 30 16:18:53 -0700 2009 Use slab class growth factor for slab size limi... [Colin Pitrat]
file slabs.h Wed Oct 07 10:11:25 -0700 2009 remove old unfinished slab reassignment code O... [dormando]
file solaris_priv.c Sat Aug 22 23:38:12 -0700 2009 Remove compilation errors from gcc on Solaris [Trond Norbye]
file stats.c Fri Oct 30 09:09:58 -0700 2009 Ignore stats prefix for keys without prefix del... [Chang Song]
file stats.h Sat Jan 03 00:09:11 -0800 2009 stats_prefix_* should not assume that all keys ... [Trond Norbye]
directory t/
file testapp.c
file thread.c
file timedrun.c Wed Sep 02 16:08:07 -0700 2009 Print a message on stderr when the timeout occurs [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]
file util.c Wed Sep 02 16:08:07 -0700 2009 Issue: #83: Refactor: use htonll or ntohll if t... [Trond Norbye]
file util.h Wed Sep 02 16:08:07 -0700 2009 Issue: #83: Refactor: use htonll or ntohll if t... [Trond Norbye]
file version.sh Sat Aug 29 15:34:00 -0700 2009 Generate the memcached.spec along with the vers... [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/