Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A fork of memcached/memcached
C Perl Other
branch: master

This branch is 210 commits ahead, 1099 commits behind memcached:master

Failed to load latest commit information.
devtools catch autoconf mixed tabs/spaces too
doc UDP header now contains offset to first protocol data
scripts Allow memcached-tool to sample keys containing punctuation
t merge LRU queues, other fixes.
.shipit Merge the official memcached repo's versions of a few of our changes.
AUTHORS Merge the official memcached repo's versions of a few of our changes.
BUILD moving server stuff down into its own directory
COPYING Merge the official memcached repo's versions of a few of our changes.
ChangeLog Update with the latest changes from the public memcached source
LICENSE moving server stuff down into its own directory
Makefile.am merge LRU queues, other fixes.
NEWS Merge the official memcached repo's versions of a few of our changes.
README Update README
TODO Merge the official memcached repo's versions of a few of our changes.
assoc.c the flat allocator uses space inefficiently when there are keys that …
assoc.h the flat allocator uses space inefficiently when there are keys that …
autogen.sh Summary: binary protocol of memcached was not properly tested with
binary_protocol.h fixes to item_walk, a unit test for item_walk
binary_sm.c move stats collection in memcached to per-thread
binary_sm.h fixes to flat allocator, merge from trunk
buckets.h bucketize all mc transactions by size
configure.ac auto detect the number of cpus
conn_buffer.c flat allocator broken by my last change
conn_buffer.h flat allocator broken by my last change
daemon.c Merge the official memcached repo's versions of a few of our changes.
flat_storage.c move stats collection in memcached to per-thread
flat_storage.h flat allocator broken by my last change
flat_storage_support.h flat allocator broken by my last change
generic.h connection buffers are per-thread to avoid lock contention
items.h the flat allocator uses space inefficiently when there are keys that …
log.h Merge the official memcached repo's versions of a few of our changes.
memcached.c auto detect the number of cpus
memcached.h remove unneeded assert for stats locking
memcached.spec use separate directory for pid files
memory_pool.h move stats collection in memcached to per-thread
memory_pool_classes.h connection buffer sharing
sigseg.c port changes from trunk to storage refactor tree
sigseg.h fixes to flat allocator, merge from trunk
slabs.c if item_storage_allocated is per-thread, we actually allocate (#threa…
slabs.h port changes from trunk to storage refactor tree
slabs_items.c move stats collection in memcached to per-thread
slabs_items.h fix slab allocator
slabs_items_support.h connection buffers are per-thread to avoid lock contention
stamp-h Merge the official memcached repo's versions of a few of our changes.
stamp-h.in Merge the official memcached repo's versions of a few of our changes.
stats.c move stats collection in memcached to per-thread
stats.h move stats collection in memcached to per-thread
thread.c remove unneeded assert for stats locking

README

Archived Repo

This is an archived fork and is no longer supported or updated by 
Facebook. Please do not file issues or pull-requests against this repo. 
The primary on-going source of the project may now be found at 
https://github.com/memcached/memcached

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/

Something went wrong with that request. Please try again.