Real async file IO on Linux?

Tim Fox timvolpe at gmail.com
Wed Jul 27 10:02:07 PDT 2011


On 27/07/2011 17:39, Alan Bateman wrote:
> Tim Fox wrote:
>> :
>>
>> I believe non buffered IO is what async IO is all about. Focussing on 
>> the buffered use case is looking in the wrong place, IMHO.
> There isn't anything in this API that is specific to buffered I/O. 
> Rather it's that non-buffered I/O is a more advanced that will require 
> a few other things, in particular the ability for more advanced 
> applications to get direct buffers that have the required alignment 
> and various attributes that they need to initiate I/O operations at 
> appropriately aligned offsets and sizes. We just haven't done that for 
> jdk7 but there is nothing to preclude us from doing that in the future.
Thanks Alan,

I think that would be a great feature.



More information about the nio-discuss mailing list