tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Performance for many small requests
Date Thu, 01 Sep 2011 20:52:25 GMT
> 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.
 
 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

Mime
View raw message