Search squid archive

Re: What's the algorithm to achieve AclRandom

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

 



Firstly of all.Thanks for your advice.

>     B. Adjust the ICAP service to store information about "sessions" in
> such 
>     a way that different service instances can share it. For example, if
> all 
>     ICAP services run on the same machine, they can use shared memory 
>     segments to exchange information among each other. 

I have no ability to achieve that different ICAP servers share same memory.

>     A. Define "session" in HTTP or Squid terms that Squid understands.
> Write
>     ACLs (likely including an external ACL or an eCAP adapter) that will 
>     define a "session" for any given transaction and annotate same-session 
>     transactions accordingly. Load balance based on sessions instead of 
>     random events. The same external ACL or eCAP adapter can define load 
>     balancing by annotating the transaction according to the ICAP service
> it 
>     should be directed to. 

I see your point,but I didn't find what I wanted in ACLs.  i would like to
achieve load balancing based on IP(maybe implement by Source IP hash
algorithm).Do you have a idea.

And,If one ICAP sever go down, can squid check  it is down and will not send
message to it

Thanks in advance




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/c-icap-load-balancing-tp4679500p4679592.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
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