RE: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Erik Torlen
the session through socket command? /E From: Vivek Malik [mailto:vivek.ma...@gmail.com] Sent: den 7 november 2011 11:05 To: Erik Torlen Cc: haproxy@formilux.org Subject: Re: Autoscaling in haproxy with persistence sessions I personally find it easier to use cookie instead of appsession. We use a similar

RE: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Erik Torlen
? /E From: Erik Torlen [mailto:erik.tor...@apicasystem.com] Sent: den 7 november 2011 11:16 To: Vivek Malik Cc: haproxy@formilux.org Subject: RE: Autoscaling in haproxy with persistence sessions Interesting. In this case we are expecting a lot of burst traffic during a very short period of time, 15

Re: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread vivek . malik
Torlenerik.tor...@apicasystem.com Cc: Vivek Malikvivek.ma...@gmail.com; haproxy@formilux.orghaproxy@formilux.org Subject: Re: Autoscaling in haproxy with persistence sessions This sounds like what balancing on a hashed value is intended for. 'hash-type consistent' will reduce the redistribution of keys when

RE: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Erik Torlen
[mailto:david.birds...@gmail.com] Sent: den 7 november 2011 12:18 To: Erik Torlen Cc: Vivek Malik; haproxy@formilux.org Subject: Re: Autoscaling in haproxy with persistence sessions This sounds like what balancing on a hashed value is intended for. 'hash-type consistent' will reduce the redistribution of keys

Re: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Baptiste
- From: vivek.ma...@gmail.com [mailto:vivek.ma...@gmail.com] Sent: den 7 november 2011 12:27 To: David Birdsong; Erik Torlen Cc: haproxy@formilux.org Subject: Re: Autoscaling in haproxy with persistence sessions If the solution is intended for traffic burst, Isn't it safe to assume that most

Re: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Holger Just
On 2011-11-07 21:32, Erik Torlen wrote: If you get a burst against 3 active backend servers they will take care of all the request and connections. The clients that are active will then get a persistence sessions against 1 of these 3 servers. It will take ~5min to scale up a new server so

RE: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Erik Torlen
:43 To: Erik Torlen Cc: vivek.ma...@gmail.com; David Birdsong; haproxy@formilux.org Subject: Re: Autoscaling in haproxy with persistence sessions Hi Erik, Let me give you a few information, I don't know if it will help. Appsession is not resilient on HAProxy reload. Which means that since you reload

Re: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Baptiste
On Mon, Nov 7, 2011 at 9:48 PM, Erik Torlen erik.tor...@apicasystem.com wrote: Thank you Baptiste, seems like it should work then out-of-the-box when using appsession. On Haproxy reload the sessions should be cleared and then clients would be replicated to new servers. Actually, the

RE: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Erik Torlen
-Original Message- From: vivek.ma...@gmail.com [mailto:vivek.ma...@gmail.com] Sent: den 7 november 2011 12:27 To: David Birdsong; Erik Torlen Cc: haproxy@formilux.org Subject: Re: Autoscaling in haproxy with persistence sessions If the solution is intended for traffic burst, Isn't it safe

RE: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Erik Torlen
mainstream tends to generate traffic so we need to make sure that scaling further up will work as expected. /E -Original Message- From: Holger Just [mailto:hapr...@meine-er.de] Sent: den 7 november 2011 12:45 To: haproxy@formilux.org Subject: Re: Autoscaling in haproxy with persistence sessions

Re: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Baptiste
On Mon, Nov 7, 2011 at 10:05 PM, Erik Torlen erik.tor...@apicasystem.com wrote: What would you recommend if we wanted to have all our three haproxy instances loadbalance in the same way. And still make use of persistence when the client is using one of the haproxy instances? E.g Having the

RE: Autoscaling in haproxy with persistence sessions

2011-11-07 Thread Erik Torlen
-Original Message- From: Baptiste [mailto:bed...@gmail.com] Sent: den 7 november 2011 13:58 To: Erik Torlen Cc: vivek.ma...@gmail.com; David Birdsong; haproxy@formilux.org Subject: Re: Autoscaling in haproxy with persistence sessions On Mon, Nov 7, 2011 at 10:05 PM, Erik Torlen erik.tor