mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Liu" <edong...@gmail.com>
Subject Re: What is the difference between so-called asynchronous I/O and non-blocking I/O
Date Wed, 23 May 2007 23:09:57 GMT
So that means asynchronous I/O is what one can observe, and it can be
implemented or has already be implemented by NIO.

And I think NIO is also one of the approaches to implementing asynchronous
messaging or processing. I am not sure if I am right.
Please comment.

Cheers,

Dong

On 5/23/07, Mladen Turk <mturk@apache.org> wrote:
>
> Dong Liu wrote:
> > Hi,
> >
> > I found some think they are the same. Do you know the difference?
> >
>
> With nio you call select and act accordingly to the returned values,
> with async you register event handlers, and do that for multiple
> files/sockets. Its something MINA already does internally.
>
> Think I've been concise enough ;)
>
> Regards,
> Mladen.
>
>


-- 
Dong Liu
http://blogs.usask.ca/dong_notes/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message