Re: [squid-users] the duplicated setting for the same dstdomain

From: Jeff Peng <jeffpeng_at_gmx.net>
Date: Fri, 19 Sep 2008 12:57:29 +0800

Amos Jeffries дµÀ:
> Jeff Peng wrote:
>> Hi,
>>
>> I set up two groups of rules for the same accelerated domain name, but
>> the selection arithmetic and original servers are different.
>> Why squid doesn't complain about this setting? Which rule will squid
>> choose when accept that a request? Thanks.
>
> Squid doesn't complain because its a possible configuration, with peer
> failover.
>
> What it does is when looking to find a peer, checks each possible
> selection method. First that produces usable peers wins.
>
> In this case sourcehash is more preferred than round-robin, so...
> One of C and D will be picked based on the source hash.
> If C and D are (both?) down then it will failover to try A and B based
> on the round-robin method.

Thanks Amos.
In this case, why squid prefer sourcehash group more than round-bin
group? does sourcehash has higher PRI than round-bin? Thanks again.
Received on Fri Sep 19 2008 - 04:57:41 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 19 2008 - 12:00:02 MDT