Re: [squid-users] accel mode and peering

From: Brian <hiryuu@dont-contact.us>
Date: Thu, 30 Aug 2001 16:06:40 -0400

On Thursday 30 August 2001 03:10 pm, Dave A King wrote:
> I am fairly new to squid and have what may be a couple newbie questions.
> I am attempting to set up multiple squid caches in HTTP accelerator
> mode to cache a pool of HTTP servers. The way I was thinking of setting
> them up is to load balance the squids in addition to the real HTTP
> servers (using an existing hardware LB device). The content I'd like to

Hardware LB in front of the squids is good, but consider having the squids
handle the backend balancing on their own (as parent caches or with the
new rproxy patches (http://squid.sourceforge.net/rproxy/backend.html)).
The squids are very good at detecting overloads and downings and
reassign the request. It also reduces the load on the LB switch.

> cache can be rather large (large files are 1MB+, other smaller content
> exists as well). Each server has ~50GB of disk for the cache, with at
> least 4 squid servers. The total amount of content on the real servers
> will be 500GB+, via NAS, and I want to try to reduce the NAS traffic.
>
> I'd like to maximize the amount of frequently accessed data that is
> cached, so I was debating using peering to split that content across the
> pool of cache servers. I've tried configuring ICP peering (unicast)

If maximum caching is the goal, that will help. Keep in mind, though,
that by the time you send, receive, and react to ICP, you've added a heap
of latency to that request. (That's fine on the client end, where a hit
at almost any cost is faster than contacting the origin server for a
miss.) Assuming the front-end caches have enough space for your most
popular files, letting them act alone will drastically improve response
time with only a minor impact on the overall hit rate.

> with each server as a sibling to the others, and digest are enabled. I
> don't know if this is the best config, but even still, no ICP traffic is
> occuring. This is what Cache Manager has to say about it:

> Am I missing something with the cache peering?
> Is unicast ICP the preferred method to reach my goal?

What do your cache_peer and cache_peer_access lines look like?

        -- Brian
Received on Thu Aug 30 2001 - 14:06:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:57 MST