Re: [squid-users] TCP parent, peer_connect_timeout, failover, load balancing depending on load

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 6 Jan 2004 16:42:26 +0100 (CET)

On Tue, 6 Jan 2004, Gabriel Wicke wrote:

> * If the TCP connection times out after 2 seconds, will Squid move on to
> the next parent without returning an error to the user?

Yes, if never_direct is in effect.

> * Is there a way to take the load of individual parents (Apaches) into
> account? I was thinking about something that would delay ICP queries
> depending on the current load, effectively lowering the machine's priority
> in the selection process.

That would work, but requires a ICP daemon on the servers and latency
overhead of using ICP.

> My understanding of the selection process in the no-query configuration is
> that it just offsets the first request each time, effectively rotating
> without taking any load indicators into account.

no-query round-robin gives plain rotation over the servers.

only no-query makes (the first or the one marked as default) the primary
server and the other backup.

Regards
Henrik
Received on Tue Jan 06 2004 - 08:42:30 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:03 MST