-
Notifications
You must be signed in to change notification settings - Fork 4
libmemcached weighted ketama algorithm for memcached_pass
dctrwatson/nginx-upstream-consistent
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Nginx Upstrem Consistent Balancer
=================================
This is balancer meant to be used in conjuction with memcached_pass.
It uses the ketama algorithm using md5 for hasing both the server and key.
Confirmed compatible with the libmemcached implementation.
Configuration
-------------
Just add ``consistent`` to the upstream block. If you want to modify the
weights of a server, just add ``weight`` to the server definition.
::
upstream memcache_cluster {
consistent;
server 127.0.0.1:11211;
server 10.0.1.2:11211;
server 10.0.1.3:11212;
}
About
libmemcached weighted ketama algorithm for memcached_pass
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published