AKKA IO

135 views
Skip to first unread message

Maatary Okouya

unread,
Jun 10, 2015, 7:14:57 PM6/10/15
to akka...@googlegroups.com
Hi, 

just to be certain, does AKK IO use Java NIO 2 or simply Java NIO 1.  In other words does it use non-blocking or asynchronous IO under the hood. Accessorily, If any one know here, is there a performance comparison between asynchronous IO VS non-blocking IO. Also it sounds to me that akka use non-blocking IO to implement synchronous IO. 

So it is a bit confusing how this stack altogether. To my understanding and my reading of AKKA IO design, i would say it is based on NIO 1 a.k.a non-blocking IO a.ka.  NIO: selectors / reactor pattern. So how does that make it Asynchronous ?

If someone can help clarify a little what is going on that would be great. 


Best,

Daniel

Derek Williams

unread,
Jun 11, 2015, 2:25:47 AM6/11/15
to Akka User List

It is asynchronous because it does not wait for data to be transferred before returning control: it doesn't block.


--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Konrad Malawski

unread,
Jun 11, 2015, 7:16:42 AM6/11/15
to Akka User List
Hi Maatary!
You may enjoy this talk I have on "the need for async" in which I talk about how async IO differs from synchronous IO.
See from 17th minute for the part about IO. 
--
Cheers,
Konrad 'ktoso' Malawski

Maatary Okouya

unread,
Jun 27, 2015, 4:07:29 PM6/27/15
to akka-user
Many thanks. Very very helpful material !!! Great Job !!!

You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/HiGLMUec47w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages