Re: [squid-users] Reverse proxy

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 30 Jul 2010 19:43:50 +1200

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

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.5
Received on Fri Jul 30 2010 - 07:44:01 MDT

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