Netflix-Skunkworks/memcached

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Memcached

Dependencies
Environment
Linux

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).

Mac OS X

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)

Website
Contributing

Want to contribute? Up-to-date pointers should be at:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.