Re: Haproxy + Ajax

2010-06-02 Thread eni-urgence

Thank you for you quick answer and sorry for my late response


Hervé COMMOWICK a écrit :
This is an old interview, HAProxy (=1.4) now support keepalive on the 
client side.


Don't use http-pretend-keepalive unless your backend server need it 
(apache doesn't need this)


To enable keepalive, you just need to have option http-server-close 
instead of option httpclose.


Regards,

Hervé.


On 05/21/2010 06:11 PM, eni-urgence wrote:


Hello (again).
In this interview http://linuxfr.org/2008/09/15/24484.html (in 
french), Willy Tareau said that there is some problem with php 
application which use ajax technologie. because haproxy ignore keep 
alive. Is there a big impact on performance ?

My web server are configured with /KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15/
and i dont think php redefine this variable.

I read that a option http-pretend-keepalive have been added to 
version 1.4.4. have i any interrest to use this option?


Is there any kind of  thing about not using ajax and haproxy 
together? Like haproxy cut the url which can be very long with ajax 
call. Is someone had experience problem . And what kind?


Thank you

NICOLE Emerik
Newbie french user of haproxy
eni-urge...@scan-eco.com
www.scan-eco.com
www.quickmed.fr












Haproxy + Ajax

2010-05-21 Thread eni-urgence


Hello (again).
In this interview http://linuxfr.org/2008/09/15/24484.html (in french), 
Willy Tareau said that there is some problem with php application which 
use ajax technologie. because haproxy ignore keep alive. Is there a big 
impact on performance ?
My web server are configured with 
/KeepAlive Off

MaxKeepAliveRequests 100
KeepAliveTimeout 15/
and i dont think php redefine this variable.

I read that a option http-pretend-keepalive have been added to version 
1.4.4. have i any interrest to use this option?


Is there any kind of  thing about not using ajax and haproxy together? 
Like haproxy cut the url which can be very long with ajax call. Is 
someone had experience problem . And what kind?


Thank you

NICOLE Emerik
Newbie french user of haproxy
eni-urge...@scan-eco.com
www.scan-eco.com
www.quickmed.fr







Re: Haproxy + Ajax

2010-05-21 Thread Hervé COMMOWICK
This is an old interview, HAProxy (=1.4) now support keepalive on the 
client side.


Don't use http-pretend-keepalive unless your backend server need it 
(apache doesn't need this)


To enable keepalive, you just need to have option http-server-close 
instead of option httpclose.


Regards,

Hervé.


On 05/21/2010 06:11 PM, eni-urgence wrote:


Hello (again).
In this interview http://linuxfr.org/2008/09/15/24484.html (in 
french), Willy Tareau said that there is some problem with php 
application which use ajax technologie. because haproxy ignore keep 
alive. Is there a big impact on performance ?

My web server are configured with /KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15/
and i dont think php redefine this variable.

I read that a option http-pretend-keepalive have been added to version 
1.4.4. have i any interrest to use this option?


Is there any kind of  thing about not using ajax and haproxy together? 
Like haproxy cut the url which can be very long with ajax call. Is 
someone had experience problem . And what kind?


Thank you

NICOLE Emerik
Newbie french user of haproxy
eni-urge...@scan-eco.com
www.scan-eco.com
www.quickmed.fr







--
Hervé COMMOWICK, EXOSEC (http://www.exosec.fr/)
ZAC des Metz - 3 Rue du petit robinson - 78350 JOUY EN JOSAS
Tel: +33 1 30 67 60 65  -  Fax: +33 1 75 43 40 70
mailto:hcommow...@exosec.fr