Search squid archive

Re: cache_peer selection

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

 



On 13/05/2023 2:53 am, Alex Rousskov wrote:
On 5/12/23 07:28, Alexeyяр Gruzdov wrote:
Hello Guys!

Thank you for your help that was before!

Could you explain somethings - For example I have a five cache_peer servers

peer1
peer2
peer3
peer4


And users like:

User-100
User-101

For forwarding requests over  existed cache_peer I use an external ACL and "note" option - all works well.

Now I'd like to implement the next logic:
This is something like a failover of specified cache_peers for specified user.

One trick I use is to list each cache_peer twice (like: A1, B1, C1, A2 , B2, C2). Just use a different name= parameter for each cache_peer line.

That way I can "loop" the order when I want A,B to be a failover from C. Like this:  C1, A2, B2.

HTH
Amos

_______________________________________________
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