Re: [squid-users] affinity session load balancing

2015-11-17 Thread Amos Jeffries
On 17/11/2015 12:48 a.m., Antony Stone wrote: > On Monday 16 November 2015 at 12:17:49, Patrick Chemla wrote: > >> Hi, >> >> This is exactly the problem. >> >> When users connect to the application, they go through the squid, then >> reach a login page where they enter login/passwd. >> >> The appl

Re: [squid-users] affinity session load balancing

2015-11-16 Thread Antony Stone
On Monday 16 November 2015 at 12:17:49, Patrick Chemla wrote: > Hi, > > This is exactly the problem. > > When users connect to the application, they go through the squid, then > reach a login page where they enter login/passwd. > > The application creates cookies including a PHPSESSION cookie.

Re: [squid-users] affinity session load balancing

2015-11-16 Thread Patrick Chemla
Hi, This is exactly the problem. When users connect to the application, they go through the squid, then reach a login page where they enter login/passwd. The application creates cookies including a PHPSESSION cookie. Can squid use such cookie? Patrick On 16/11/2015 12:49, Antony Stone wro

Re: [squid-users] affinity session load balancing

2015-11-16 Thread Antony Stone
On Monday 16 November 2015 at 11:32:31, Patrick Chemla wrote: > I am doing load balancing as sourcehash, so on IP source. > > The problem is that about 80% of clients come from the same IP, so I > have a highly loaded backend, while other are sleeping. > > So whatever you call it, on haproxy the

Re: [squid-users] affinity session load balancing

2015-11-16 Thread Patrick Chemla
Hi Antony, Thanks for your answer. Actually, I am doing load balancing as sourceash, so on IP source. The problem is that about 80% of clients come from the same IP, so I have a highly loaded backend, while other are sleeping. So whatever you call it, on haproxy they call it session affinity

Re: [squid-users] affinity session load balancing

2015-11-16 Thread Antony Stone
On Monday 16 November 2015 at 10:35:39, Patrick Chemla wrote: > Hi, > > I am using squid for years, maybe with basic features, and I have a > problem today with an app where I need to manage multiple backends, be > sure that a user is always sent to the same one because the app writes > on local

[squid-users] affinity session load balancing

2015-11-16 Thread Patrick Chemla
Hi, I am using squid for years, maybe with basic features, and I have a problem today with an app where I need to manage multiple backends, be sure that a user is always sent to the same one because the app writes on local disk, and I have 80% users coming from same IP. So I need to load bal