-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 9/1/2011 2:00 PM, Caldarale, Charles R wrote: >> From: David kerber [mailto:dcker...@verizon.net] 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5f7cwACgkQ9CaO5/Lv0PDyPwCeMKszXxJEetGetzqzrcSbFp4R 1uUAn1fM0ITBMDrgzjdHklbEmthx3cKi =zvGH -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org