tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Performance for many small requests
Date Thu, 01 Sep 2011 20:54:52 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 9/1/2011 4:52 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:chris@christopherschultz.net] 
>> Subject: Re: Performance for many small requests
> 
>>> NIO may incur slightly more overhead due to thread switching. 
>>> You'll have to measure to see if it's of any benefit.
> 
>> Yes, but my guess is that it would be better than suffering
>> through keepalive timeouts if the clients stupidly specify
>> "Connection: Keep-Alive" when they don't actually intend to send
>> multiple requests.
> 
> Agreed.  I would forcibly disable keep-alive in the <Connector> by 
> setting maxKeepAliveRequests to 1.

There's that, too :)

- -chris

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

iEYEARECAAYFAk5f8RwACgkQ9CaO5/Lv0PDnyACgrYfaaYrfukcgkgZHJNju/maT
2kQAoJFqXhy9jC0fqlZR9KAuYwCis9br
=TZML
-----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