Thread pooling in AIO?

David M. Lloyd david.lloyd at redhat.com
Tue Dec 16 16:15:35 PST 2008


On 12/16/2008 12:41 PM, Alan Bateman wrote:
> David M. Lloyd wrote:
>> I think a fixed pool is probably the wrong choice for async I/O - it 
>> would make more sense to use a cached pool which can scale up on 
>> demand, with a sensible timeout for non-core threads.
> If the server is completely event driven then a fixed thread pool can 
> work very well.

I should have said, "a LARGE fixed pool is probably the wrong choice"...

- DML




More information about the nio-discuss mailing list