f20dd8c18fa2f303052ee5d568b5f924b56e143a
[awesomized/libmemcached] / memcached / README
1 Dependencies:
2
3 -- libevent, http://www.monkey.org/~provos/libevent/ (libevent-dev)
4
5 If using Linux, you need a kernel with epoll. Sure, libevent will
6 work with normal select, but it sucks.
7
8 epoll isn't in Linux 2.4, but there's a backport at:
9
10 http://www.xmailserver.org/linux-patches/nio-improve.html
11
12 You want the epoll-lt patch (level-triggered).
13
14 If you're using MacOS, you'll want libevent 1.1 or higher to deal with
15 a kqueue bug.
16
17 Also, be warned that the -k (mlockall) option to memcached might be
18 dangerous when using a large cache. Just make sure the memcached machines
19 don't swap. memcached does non-blocking network I/O, but not disk. (it
20 should never go to disk, or you've lost the whole point of it)
21
22 The memcached website is at:
23
24 http://www.memcached.org
25
26 Want to contribute? Up-to-date pointers should be at:
27
28 http://contributing.appspot.com/memcached