Hello,
I am successfully using Squid 2.6STABLE12 as a reverse proxy to
several backend servers. Each backend web server is defined similar
to this:
cache_peer x.x.x.x parent 80 0 no-query originserver
monitorurl=/squidcheck.php monitorinterval=15 round-robin login=PASS
name=webX no-digest
With round-robin load balancing sometimes a peer gets busier than
others and takes longer to service queries, but Squid continues to
give it the same number of connections. For instance right now I'm
checking the Peer Cache Statistics and my connections are at
20/19/30/74.
Browsing through squid.conf.default it would appear my only other
option is "sourcehash" which would suffer from the same problems.
Is there any way to balance based on least connections, or something else?
Thanks,
Sean
-- Sean Walberg <sean@ertw.com> http://ertw.com/Received on Wed May 09 2007 - 07:13:25 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT