Search squid archive

Re: c-icap load balancing

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

 



On 09/13/2016 07:02 PM, yanghe wrote:
> I want to implement the c-icap cluster.the
> traffic averagely distribute to each c-icap.

Unfortunately, Squid does not support true load balancing of ICAP and
eCAP services directly. It would be a welcomed feature[1].

However, there is a workaround: Use "random" ACLs in your
adaptation_access rules to select each service at random, with the same
probability. There are production deployments using that workaround to
approximate load balancing effects. When implementing this, be careful
not to fall into a common trap of mistaking an individual
adaptation_access rule match probability with the service selection
probability[2].

[1]
http://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F

[2]
http://lists.squid-cache.org/pipermail/squid-users/2016-August/012217.html


HTH,

Alex.

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux