On 11/02/2016 22:11, Bart Wood wrote:
> Thanks Mark.
>
> I normally see around 20 active http connections and around 10 active NIO
> threads. Why isn't there a 1-to-1 ratio between active http connections
> and active nio threads? What is happening when a connection is "active"
> but it isn't be
Thanks Mark.
I normally see around 20 active http connections and around 10 active NIO
threads. Why isn't there a 1-to-1 ratio between active http connections
and active nio threads? What is happening when a connection is "active"
but it isn't being processed via the filter chain?
On Thu, Feb 1
On 11/02/2016 21:54, Bart Wood wrote:
> Will the NIO connector reuse a thread for multiple http connections in
> flight?
No. Once a thread enters the filter chain it is dedicated to that
request until it exists the filter chain (plus some Tomcat internal
processing).
> For example, an nio thread