Thread pooling in AIO?

Alan Bateman Alan.Bateman at Sun.COM
Thu Dec 18 04:07:38 PST 2008


Nord, James wrote:
> :
>
> So your using AlertableIO[1] and not IOCompletion[2] ports then?
> Doesn't this have inherant scalability issues as you can only proccess
> on the same thread?
> It also means you can have some intersting thread management issues...
>
> [1]http://msdn.microsoft.com/en-us/library/aa363772(VS.85).aspx
> [2]http://msdn.microsoft.com/en-us/library/aa365198(VS.85).aspx
>   
On Windows the implementation uses overlapped I/O and completion ports 
for both file and socket I/O (except for AsynchronousDatagramChannel). 
On Windows Server 2003 and 2008 we regularly test with 20k+ connections.

-Alan.



More information about the nio-discuss mailing list