Re: [squid-users] Reverse proxy

From: viswa <waytoviswa_at_gmail.com>
Date: Fri, 30 Jul 2010 14:51:30 +0530

Thanks Amos

is there any option for load balancing as well as sticky connection ?

Thanks
-Viswa

On 07/30/2010 01:13 PM, Amos Jeffries wrote:
> viswa wrote:
>> hi all
>>
>> i am running reverse proxy using squid 2.7 stable 9, 10.10.3.94 and
>> 10.10.3.95 are two apache server having same web content.
>>
>> cache_peer 10.10.3.94 parent 82 0 no-query originserver round-robin
>> sourcehash
>> cache_peer 10.10.3.95 parent 82 0 no-query originserver round-robin
>> sourcehash
>>
>> in the above config, load balancing and sticky(persistent) connection
>> are possible ?
>
> The meanings of sticky that I understand are not the same as persistent.
>
> In proxy-usage persistent means connections are re-used for multiple
> requests going to the same destination.
>
> If you think about that last part, what it means is that the peer gets
> chosen via load balancing then AFTER that is decided a connection to
> the peer gets looked up. So the two concepts of load balancing and
> persistent connections do not overlap or collide in any way.
>
> Amos
Received on Fri Jul 30 2010 - 09:27:29 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 30 2010 - 12:00:04 MDT