3 messages in ru.sysoev.nginxRe: new patch: upstream consist hash ...
FromSent OnAttachments
i_amok i_amokJun 11, 2009 5:04 am 
Maxim DouninJun 11, 2009 6:13 am 
i_amok i_amokJun 11, 2009 7:55 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: new patch: upstream consist hash patchActions...
From:Maxim Dounin (mdou@mdounin.ru)
Date:Jun 11, 2009 6:13:58 am
List:ru.sysoev.nginx

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.