File: README

package info (click to toggle)
memcached 1.1.12-1
  • links: PTS
  • area: main
  • in suites: etch-m68k, sarge
  • size: 588 kB
  • ctags: 257
  • sloc: sh: 2,952; ansic: 1,936; perl: 155; makefile: 68
file content (22 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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).

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/