Re: Squid farm + layer 4 switch, should they peer?

From: tom minchin <tom@dont-contact.us>
Date: Thu, 16 Mar 2000 08:52:17 +1100

On Wed, Mar 15, 2000 at 09:12:13AM -1000, Clifton Royston wrote:
> On Wed, Mar 15, 2000 at 09:37:06AM -0600, Brian wrote:
> >
> > If I have multiple identical squids, in a server farm, and use a layer 4
> > switch to spread users out evenly amongst them, should those machines in
> > the farm icp peer with eachother? I would think yes.
>
> They should definitely peer with each other. You might want to have
> them peer with cache-digests instead of ICP. You might also want to
> consider a no-cache policy for items retrieved from others' caches so
> they are not all storing the same stuff. Alternatively you might want
> to look at your switch's ability to distribute URLs to caches based on
> a hash of the destination URL, so that each cache ends up with a
> different distribution of cache content.

I'd recommend the latter path if your switch can do URL hashing (or whatever
your L4 switch calls it). Then you can disable ICP - which speeds things up
a bit, also makes disk usage more efficient and cache hits more likely.

tom@interact.net.au
Received on Wed Mar 15 2000 - 14:56:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:15 MST