Re: [PATCH] Core: Configurable 'npoints' for ngx_http_upstream_hash

2015-12-08 Thread Roman Arutyunyan
Hello Koby, > On 06 Dec 2015, at 08:57, Koby Nachmany wrote: > > > Hello! > > I have a use case for an even, consistent balancing of a caching layer > upstream cluster. I.e using the "Ketama algorithm" > Current consistent hashing implementation in

[PATCH] Core: Configurable 'npoints' for ngx_http_upstream_hash

2015-12-05 Thread Koby Nachmany
> Hello! > > I have a use case for an even, consistent balancing of a caching layer > upstream cluster. I.e using the "Ketama algorithm" > Current consistent hashing implementation in ngx_http_upstream_hash is > hard-coded to '160' vbuckets and real world results show a 20% variance in >