Hi Ortwin
> What you are referring to is the "backlog" of a Socket. That is the number of
> half-open / unaccepted connections that is queued by the OS before sending 
> RSTs
> for any more SYNs.
>   
I thought so too.. but I think in the NIO model its a bit different -
especially when a request is handled by a separate thread pool. In the
classic model of a thread per socket - an implementation will not be
doing a ServerSocket.accept() once the thread pool is exhausted.
However, the NIO reactor will process events over threads that are
different from the worker threads processing the request. Thus I believe
all connections gets accepted by default - without being queued at TCP
level, and this is what I would like to control if possible.. provided
that my understanding on this is correct :D

thanks
asankha


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to