Skip to content

add consistent hashing option for session handling #23

New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dclaisse
Copy link

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 added a commit that referenced this pull request Nov 3, 2012
add consistent hashing option for session handling
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants