tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Performance for many small requests
Date Thu, 01 Sep 2011 20:40:44 GMT
Hash: SHA1


On 9/1/2011 2:00 PM, Caldarale, Charles R wrote:
>> From: David kerber [] Subject: Re:
>> Performance for many small requests
>>> You could also use the NIO connector which allows you to have
>>> fewer threads serve more requests without the 
>>> keepalive-expiration delay.
>> Thanks, I'll take a look at this.
> 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.

>>> Looks like this connector has very little configuration. Is
>>> that because you aren't using it?
>> I didn't touch it because I don't know what to do with it, and
>> didn't know if deleting it would cause a problem.
> It's perfectly safe to comment it out or remove it. Doing so is 
> unlikely to have any effect on performance.

It will probably result in the creation of at least one less thread.
It's also a simpler configuration, uses (slightly) less memory, and
reduces any attack vectors an intruder might want to use.

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message