Is nginx able to work with multiple memcached servers and therefore
correctly hashes the key to pick a server from the cluster?
I am running one instance of nginx with 18 memcached servers. Not
using hashing though since my application doesnt distribute load that
way.
Cheers
Kon
Oliver Weichhold <lists@…> writes:
Is nginx able to work with multiple memcached servers and therefore
correctly hashes the key to pick a server from the cluster?
By default, nginx will round-robin requests to multiple backend
memcached
servers - which is probably not the behavior you want.
Evan M. implemented an optional module which hashes the key to pick
a server
from the cluster. You can read about it here:
http://wiki.codemongers.com/NginxHttpUpstreamRequestHashModule
Tyler K. wrote:
Oliver Weichhold <lists@…> writes:
Is nginx able to work with multiple memcached servers and therefore
correctly hashes the key to pick a server from the cluster?By default, nginx will round-robin requests to multiple backend
memcached
servers - which is probably not the behavior you want.Evan M. implemented an optional module which hashes the key to pick
a server
from the cluster. You can read about it here:http://wiki.codemongers.com/NginxHttpUpstreamRequestHashModule
Exactly what I was looking for. Thanks.