Re: what is the best config using layer4 switch?

From: tom minchin <tom@dont-contact.us>
Date: Sun, 18 Jun 2000 18:46:19 +1000

On Sun, Jun 18, 2000 at 04:28:22PM +0800, Rico Abarintos wrote:
>
> hi to all!! i've got a couple of squid box. i'm using a layer 4 switch for
> http redirection. i make all boxes as "sibling" for each other. is this the
> best config for my squid box?
>
> |--------------|
> | |
> | Internet |--------|
> | | |
> |______________| |
> |
> ______|________
> | |------------- squid 1
> |layer 4 switch |------------- squid 2
> | |...
> | | ------------- squid n
> -------|---------
> |
> |
> |
> users

That's fairly inefficient as you are duplicating all the cache data onto
each Squid data (though you can set the squids to proxy-only so that sibling
hits are not cached - however, this is slower).

If your L4 switch supports it, use either destination IP or URL hashing to
distribute the cache load across your Squid cluster. You can then disable
sibling access (ICP) within the cluster as the L4 switch will make sure that
each URL is sent to a certain cache. This will increase your cache storage
by removing replication of data, and increase your cache hits. It will
also elminate problems of 'round robin IP' on some web sites which can't
handle clients switching IPs.

tom@asiaonline.net
Received on Sun Jun 18 2000 - 02:49:46 MDT

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