samanbarghi / memcached

memcached development tree

Home Page:http://code.google.com/p/memcached/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Memcached

Dependencies

Environment

Linux

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, but there's a backport at:

http://www.xmailserver.org/linux-patches/nio-improve.html

You want the epoll-lt patch (level-triggered).

Mac OS X

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)

Website

Contributing

Want to contribute? Up-to-date pointers should be at:

About

memcached development tree

http://code.google.com/p/memcached/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 71.3%Language:Perl 22.8%Language:M4 2.9%Language:DTrace 1.4%Language:Shell 0.7%Language:Makefile 0.5%Language:Groff 0.2%Language:Python 0.2%