Re: Interesting post about AIO

2013-03-02 Thread Julien Vermillard
Hi, Agreeing with jeff, you can't complain of the lack of an accessor, when you just voided the attachment ;) I really wonder what JDK guys have in mind with AIO, it's far of being a slick API, it doesn't support UDP (you need to mix AIO and NIO if you want to support TCP and UDP) and I can't see

Fwd: Re: Interesting post about AIO

2013-03-02 Thread Kiran Ayyagari
forwarding to the correct ML -- Forwarded message -- From: Emmanuel Lécharny elecha...@gmail.com Date: Mar 2, 2013 2:13 PM Subject: Re: Interesting post about AIO To: Apache Directory Developers List d...@directory.apache.org Le 3/2/13 9:10 AM, Julien Vermillard a écrit : Hi

Re: Interesting post about AIO

2013-03-02 Thread Jeff MAURY
On Sat, Mar 2, 2013 at 9:43 AM, Emmanuel Lécharny elecha...@gmail.comwrote: Le 3/2/13 9:10 AM, Julien Vermillard a écrit : Hi, Agreeing with jeff, you can't complain of the lack of an accessor, when you just voided the attachment ;) Again, this is not the interesting part n this

Re: Interesting post about AIO

2013-03-02 Thread Emmanuel Lécharny
Le 3/2/13 1:23 PM, Jeff MAURY a écrit : On Sat, Mar 2, 2013 at 9:43 AM, Emmanuel Lécharny elecha...@gmail.comwrote: Le 3/2/13 9:10 AM, Julien Vermillard a écrit : Hi, Agreeing with jeff, you can't complain of the lack of an accessor, when you just voided the attachment ;) Again, this is

Re: Fwd: Re: Interesting post about AIO

2013-03-02 Thread Julien Vermillard
post about AIO To: Apache Directory Developers List d...@directory.apache.org Le 3/2/13 9:10 AM, Julien Vermillard a écrit : Hi, Agreeing with jeff, you can't complain of the lack of an accessor, when you just voided the attachment ;) Again, this is not the interesting part n this article

Re: Fwd: Re: Interesting post about AIO

2013-03-02 Thread Christian Schwarz
Le 2 mars 2013 12:46, Kiran Ayyagari kayyag...@apache.org a écrit : forwarding to the correct ML -- Forwarded message -- From: Emmanuel Lécharny elecha...@gmail.com Date: Mar 2, 2013 2:13 PM Subject: Re: Interesting post about AIO To: Apache Directory Developers List d

Re: Fwd: Re: Interesting post about AIO

2013-03-02 Thread Emmanuel Lécharny
Le 3/2/13 7:01 PM, Christian Schwarz a écrit : Maybe this is an interesting read about AIO too. Its written by one of the jetty developers. http://webtide.intalio.com/2013/02/on-jdk-7-asynchronous-io/ Hmmm, this is the exact link that started this discussion :-) -- Regards, Cordialement,

Interesting post about AIO

2013-03-01 Thread Emmanuel Lécharny
Hi guys, this is worth reading : http://webtide.intalio.com/2013/02/on-jdk-7-asynchronous-io/ -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Interesting post about AIO

2013-03-01 Thread Jeff MAURY
I don't quite follow his arguments because this is easily fixed by either using an anonymous class or a dedicated attachment. I would like to see a chapter on performance as my POC is not really good on this point and I would like to know if the cause is clearly from NIO or from my MINA adapter on

Re: Interesting post about AIO

2013-03-01 Thread Emmanuel Lécharny
Le 3/1/13 5:00 PM, Jeff MAURY a écrit : I don't quite follow his arguments because this is easily fixed by either using an anonymous class or a dedicated attachment. I'm more concern about the need to allocate a buffer for every read (a clear no go from my POV) an about the write handling. I