Re: [squid-users] CARP setup

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 16 Oct 2008 08:14:54 +0200

On tor, 2008-10-16 at 09:42 +0530, Paras Fadte wrote:
> Hi Henrik,
>
> In CARP setup, if one uses same weightage for all the parent caches
> how would the requests be handled ? will the requests be equally
> forwarded to all the parent caches ? if the weightages differ then
> won't all the requests be forwarded to a particular parent cache only
> which has the highest weightage ?

CARP is a hash algorithm. For each given URL there is one CARP parent
that is the designated one.

The weights control how large portion of the URL space is assigned to
each member.

> Also if I do not use the "proxy-only" option in the squid which
> forwards the requests to parent caches, won't less number of requests
> be forwarded to parent caches since it will be already cached by squid
> in front of the parent caches?

Correct. And it's completely orthogonal to the use of CARP. As I said
most setups do not want to use proxy-only. proxy-only is only useful in
some very specific setups. These setups MAY be using CARP or some other
peering method, the choice of peering method is unrelated to proxy-only.

Regards
Henrik

Received on Thu Oct 16 2008 - 06:15:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 21 2008 - 12:00:04 MDT