comparison README @ 0:30782bb1fc04 MEMCACHED_1_2_3

memcached-1.2.3
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 23 Sep 2007 03:58:34 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:30782bb1fc04
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 yet, 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.danga.com/memcached/
25