tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: mod_jk - Firewall connection dropping
Date Thu, 12 Apr 2012 16:36:59 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/2012 16:20, Christopher Schultz wrote:
> On 4/12/12 4:37 AM, Mark Thomas wrote:

>> In short, disabling mod_jk keep-alive frequently has no 
>> noticeable performance impact (some customers of mine reported a 
>> performance improvement!)
> 
> That sounds suspicious to me.

Not really. If cpong/cping isn't set up correctly and you are taking
Tomcat hosts up and down regularly (or the hosts are failing to
respond for other reasons) then without keep-alive disabled some
requests are going to get delayed by a timeout before httpd retries
another Tomcat instance. Those timeouts could impact the average
response time.

A correctly configured mod_jk setup should perform about the same with
or without keep-alive. The point is that without keep-alive the config
is usually far easier to get right.

Mark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPhwSrAAoJEBDAHFovYFnndpgP/jhHXv5H8SMl+uE+3Wppp/2Z
TQKG4HtqAtdcXi/yyYYro0t3BzknekUDVEX39qIFdDrBK1ogwZc6/bAZhrXGo+wx
dCwPdm1m34RpXGF5mWBYqVHdx/RvmgrKMM/Wt/P58nGL1NU7tOvbupPbtZ1CNig7
t/FCzMSxl7V0DzNHgtxlfOfWBNP8te2Eu9LsBxKNyZbUOEf6/yOoXZlGozIPdKKB
7/23FCnwHtAE2vLh0kvpTNlv0f6hj2Rgx3s/XX+Snc7LLbqRyzWOyvkEn0PrfV+5
Mgl4F+pcShd35CeKRD4+g0VdteJULdeT0LO816hRKDO7e/UNr/CVTh5xsXHVjwdK
59lVtACoNEysy/Tucm28ZEfIIosjRKvseEOhRhHZKWiAOXoL7++XYUkdixaiZ5ZX
c40FQ225H38emQb10wTEuhFCrqAZWFDlR+6W0ySL391lFXHuiPEGgekDRzNAm6Uh
Gy3uczA6q4NldnN2SvCr/8mx+iawkV+kLgsdIAluIKg/K0/yiT7+S6QUpAMgeyc5
z2RtLdfpMeqGW8mvf3QDa+z9ojMy3nUK7ukgB3ENBgOcpuJNSW1zYjXmRmMGJALr
FZ50aFhn+FLVwMd6OIggo/4faQ1hr4SrZTMlmnb6BNHMi0Oy3HK7yqV5g0pTKq8h
11WtLxb707rXbBd3kpAU
=Qnhw
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message