Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

add consistent hashing option for session handling #23

Merged
merged 1 commit into from Nov 3, 2012

Conversation

Projects
None yet
2 participants

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.

@iliaal iliaal added a commit that referenced this pull request Nov 3, 2012

@iliaal iliaal Merge pull request #23 from dclaisse/session_consistent_hashing
add consistent hashing option for session handling
1162d10

@iliaal iliaal merged commit 1162d10 into php-memcached-dev:master Nov 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment