|
Revision 513, 0.8 kB
(checked in by plindner, 3 years ago)
|
|
Updated docs to reflect that memcached works fine on macs with recent libevent
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 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 | |
|---|