php-memcached-dev/php-memcached — pull request #23 by dclaisse (2012-07-25 09:12:49+00:00)
Title: add consistent hashing option for session handling

Hi,

I added an option to enable consistent hashing for session handling, in order to use a big pool of small cache instances and add or remove quite frequently some instances without messing up the whole set of existing sessions.
This can be enabled using memcached.sess_consistent_hash ini boolean, and enables MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED.