Hi folks,
I am working on version 3 of squid, and I am trying to "order" the sibling
peers with a selection algorithm and/or the "weight" option in the
"cache_peer" directive.
However, I can't get it to work. I've understood the selection algorithms
"round-robin", 'weighted-round-robin', 'carp' (and so forth) are only used
with parent peers, not siblings. Hence I've tried to make use of the
"weight" option, as follow:
/cache_peer cat 3128 3130 proxy-only weight=100
cache_peer dog 3128 3130 proxy-only weight=1/
But in the access.log, I am not seeing any load-balancing mechanism. The
request'responses alternatively comes from both peers; nothing seems to be
related to the 'weight' option I've put in the configuration file.
Any idea what should I use ?
Have you ever tried to perform load-balancing with sibling peers ? If so,
could you help me with my problem here ?
Joachim
-- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Sibling-selection-algorithm-weight-tp4665944.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Wed May 14 2014 - 12:29:34 MDT
This archive was generated by hypermail 2.2.0 : Wed May 14 2014 - 12:00:05 MDT