Search squid archive

Load balancing algorithms for an accelerator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>    http://ertw.com/

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux