Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Upstream hash: speedup consistent hash init

Roman Arutyunyan
March 02, 2015 10:48AM
Hello!

On Thu, Feb 19, 2015 at 01:33:03PM +0800, Wai Keen Woon wrote:
> On 2/18/2015 8:49 PM, Roman Arutyunyan wrote:
> >>Note that in the original implementation, if there are points
> >>with duplicate hash, only the first is kept. In this change, all
> >>are included.
> >This is the intended behaviour. Consistent hash array is build over
> >server entries, but not addresses resolved from them. Duplicate points
> >are ignored since most likely they refer to multiple addresses of
> >the same host.
> I see. I could add a loop to remove duplicate hashes and maybe adjacent
> points referencing the same server too. Or do you prefer to take some time
> to look into it in more detail first?

Thanks for your work.

We have committed a slightly modified version of the patch.

--
Roman Arutyunyan

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Upstream hash: speedup consistent hash init

Wai Keen Woon 668 February 18, 2015 07:08AM

Re: [PATCH] Upstream hash: speedup consistent hash init

Roman Arutyunyan 339 February 18, 2015 07:50AM

Re: [PATCH] Upstream hash: speedup consistent hash init

Wai Keen Woon 296 February 19, 2015 12:34AM

Re: [PATCH] Upstream hash: speedup consistent hash init

Roman Arutyunyan 258 March 02, 2015 10:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready