readme
来自「memcached是一个高性能的分布式的内存对象缓存系统」· 代码 · 共 26 行
TXT
26 行
Dependencies: -- libevent, http://www.monkey.org/~provos/libevent/ (libevent-dev)If using Linux, you need a kernel with epoll. Sure, libevent willwork 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).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 bedangerous when using a large cache. Just make sure the memcached machinesdon't swap. memcached does non-blocking network I/O, but not disk. (itshould never go to disk, or you've lost the whole point of it)The memcached website is at: http://www.danga.com/memcached/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?