new patch: upstream consist hash patch

Maxim Dounin mdounin at mdounin.ru
Thu Jun 11 17:14:21 MSD 2009


Hello!

On Thu, Jun 11, 2009 at 08:04:41PM +0800, i_amok i_amok wrote:

> hi,all
> 
>       i has patch the upstream hash module to support consist hash.
> below is patch file and patch method.
> 
> http://upstream-consist-hash.googlecode.com/files/upstream_hash.path
> http://upstream-consist-hash.googlecode.com/files/nginx.path

As far as I see patch to nginx itself isn't really needed.  You may 
easily keep everything within the module.

And just a note: there is Tomash Brechko's memcached_hash module 
that does ketama consistent hashing among others.  As far as I know 
it works well.  See 

http://openhack.ru/nginx-patched/wiki/MemcachedHash

for details.

Maxim Dounin





More information about the nginx mailing list