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.

Reply via email to