Is nginx able to work with multiple memcached servers?

Oliver Weichhold lists at ruby-forum.com
Wed Sep 17 10:53:41 MSD 2008


Tyler Kovacs wrote:
> Oliver Weichhold <lists at ...> 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 Miller 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.
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list