Name: memcached
Owner: Netflix-Skunkworks
Description: memcached development tree
Created: 2016-07-14 00:23:47.0
Updated: 2016-07-14 00:23:48.0
Pushed: 2016-08-25 10:17:38.0
Homepage: http://code.google.com/p/memcached/
Size: 6867
Language: C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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, 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 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)
Want to contribute? Up-to-date pointers should be at: