-----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
|