tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: bindOnInit and maxConnections for AJP connectors
Date Fri, 08 Apr 2011 17:10:05 GMT
On 4/6/2011 3:51 PM, Tim Whittington wrote:
>> >  b) Check the input buffer at the end of the loop in
>> >  Http11Processor#process() and process the next request if there is any
>> >  data in the input buffer.
>> >  - No Increase in memory requirements.
>> >  - Fixes issue 3
>> >  - Pipelined requests will get processed earlier (before they would have
>> >  been placed at the back of the request processing queue)
>> >
>> >  I think option b) is the way to go to fix issue
> +1
> It's an unfair scheduling, but given issue 2 that's a fairly moot
> point with the BIO connector.
sounds reasonable. this is how we used to do it (we may still) in APR.
it avoids one context switch not needed, and in NIO we could do this too, since we can even
check the network buffer without blocking

best
Filip
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message