[squid-dev] [RFC] CRUSH peer selection method

Alex Rousskov rousskov at measurement-factory.com
Mon Apr 17 16:28:35 UTC 2017


On 04/17/2017 09:08 AM, Loic Dachary wrote:

>   peer 1 targeted by a set of requests (X1)
>   peer 2 targeted by a set of requests (X2)

> and we add a new peer, CRUSH makes it so 1/3 of the requests from peer 1 and 2 move to peer 3

>   peer 1 targeted by a set of requests (2/3 of X1)
>   peer 2 targeted by a set of requests (2/3 of X2)
>   peer 3 targeted by a set of requests (1/3 of X1 + 1/3 of X2)

How would the last three lines look for CARP and sourcehash?


Thank you,

Alex.
P.S. For the record, this is
     http://bugs.squid-cache.org/show_bug.cgi?id=4704



More information about the squid-dev mailing list