Re: [squid-users] Squid reverse proxy load balancing

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 28 Mar 2008 20:43:47 +0100

On Fri, 2008-03-28 at 14:23 -0500, Ben Hollingsworth wrote:

> Using this setup, what will happen if one of those servers goes down?

Squid detects that the server is down and stops using it until it
becomes alive again.

> Will half of the requests fail, or will squid transparently resend the
> request to the working server?

It will automatically skip the failed server after a couple of requests
(at most 10 failed attempts).

> Is there any way to specify automatic connection persistence, where all
> requests from a certain client will go to the same back end server so as
> to maintain session state & the like?

This is what the srchash balancing method gives.. (squid-2.6+ only, not
yet in squid-3)

Regards
Henrik
Received on Fri Mar 28 2008 - 13:45:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT