Re: [PATCH] Upstream: add consistent hash module

2014-05-13 Thread Maxim Dounin
Hello! On Thu, May 08, 2014 at 03:52:24PM +0800, Jianjun Zheng wrote: > usage example: cons_hash $request_uri; > > Not only consistent hash is introduced as a load balancing, but also > increase the hits of cache in upstream servers. > > This modules is written according to round_robin, ip_hash

Re: [PATCH] Upstream: add consistent hash module

2014-05-08 Thread Jianjun Zheng
t; To: > Sent: Thursday, May 08, 2014 8:52 AM > Subject: [PATCH] Upstream: add consistent hash module > > > > usage example: cons_hash $request_uri; >> >> Not only consistent hash is introduced as a load balancing, but also >> increase the hits of cache in upstre

Re: [PATCH] Upstream: add consistent hash module

2014-05-08 Thread Steven Hartland
: "Jianjun Zheng" To: Sent: Thursday, May 08, 2014 8:52 AM Subject: [PATCH] Upstream: add consistent hash module usage example: cons_hash $request_uri; Not only consistent hash is introduced as a load balancing, but also increase the hits of cache in upstream servers. This modules

[PATCH] Upstream: add consistent hash module

2014-05-08 Thread Jianjun Zheng
usage example: cons_hash $request_uri; Not only consistent hash is introduced as a load balancing, but also increase the hits of cache in upstream servers. This modules is written according to round_robin, ip_hash and least_conn modules for upstream. So it inherits all the essential logic from th