> From: Christopher Schultz [mailto:ch...@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.

Reply via email to