Then you are currently perhaps a bit short of options to balance the
load between the two parents.
What you can do is to look into the connect_timeout cache_peer option.
If you are lucky then the slow parent are also slow in accepting TCP
connections and in such case Squid can detect that it is slow.
If the slow parent is fast at accepting the TCP connections but slow in
processing the HTTP requests then there currently is no option to weight
the load share based on this. It is not an easy thing to measure as the
request latency also very much depends on the requested site, not only
the parent cache.
For load balancing between parents Squid has the following options:
a) ICP round trip weight
b) Rount-robin selection
c) TCP connection failure detection with automatic fallback on other
parents or direct mode depending on the configuration and Squid patch
level.
-- Henrik Nordstrom Squidh hacker Catalin Tatu wrote: > > But my both parents doesn't support ICP > > Thank's. > > ----- Original Message ----- > From: "Henrik Nordstrom" <hno@hem.passagen.se> > To: "Catalin Tatu" <cata@1a.ro> > Sent: Saturday, October 28, 2000 1:29 AM > Subject: Re: [SQU] Parent Cache > > > Catalin Tatu wrote: > > > > > > Same question > > > how can I do if I want to balancing (when first parent work slowly, > requests > > > to be redirect to the second parent) between to parents ? > > > > ICP should handle that quite nicely. > > > > If your goal is only to give the two parens similar workloads then ICP > > is not needed and using the round-robin option should be sufficient. > > > > -- > > Henrik Nordstrom > > Squid hacker -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Mon Oct 30 2000 - 00:15:01 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:02 MST