Search squid archive

R: [squid-users] Connection to webmail sitesproblem using more than one parent proxy

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

 



Hi Henrik, hi Amos 

Now with the last configuration it seems the sourcehas is working corectly.

So this is the final configuration 
cache_peer myparentproxy1.dipvvf.it parent 3128 3130 sourcehash no-query 
cache_peer myparentproxy2.dipvvf.it parent 3128 3130 sourcehash no-query 
cache_peer myparentproxy3.dipvvf.it parent 3128 3130 sourcehash no-query


I still have some questions for you,

1. In which way does the roundroubin with sourcehash work? I have noted the
first client requests are sent to the first parentproxy, only after some
client requests are established with the first, the new ones are sent to the
second and finally to the third. Is it possible to distribute the
connections to the parents equally based on the client request? E.g. the
request of first client send to the first parentproxy, the request of the
second client to the second parent proxy, the request of the third client to
the third parent proxy, the request of the fourth client to the first parent
proxy, the request of the fifth client to the second parent proxy and go on?

2. Does sourcehash work only with no-query option? The no-query option
disable the icp protocol, doesn?t it?


Thank you in advance,

Sergio



________________________________________
Da: Henrik Nordstrom [mailto:henrik@xxxxxxxxxxxxxxxxxxx] 
Inviato: mercoledì 5 novembre 2008 10.42
A: Sergio Marchi
Cc: squid-users@xxxxxxxxxxxxxxx
Oggetto: Re:  R: [squid-users] Connection to webmail
sitesproblem using more than one parent proxy

On tis, 2008-11-04 at 19:49 +0100, Sergio Marchi wrote:

> cache_peer myparentproxy1.dipvvf.it parent 3128 3130 sourcehash
> round-robin no-query

Don't mix round-robin and sourcehash. Not sure what will happen in such
confusing setup.

But you should indeed use no-query if you use sourcehash or round-robin.

> It seems to work , but the connection are established only on one
> parentproxy, even if  the clients ip addresses are different.

How many addresses did you try with? There is a 1/3 probability of two
addresses to end up on the same parent when having 3 srchash parents.

Regards
Henrik



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

  Powered by Linux