[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Messaging and Remoting

timfox do-not-reply at jboss.com
Mon Oct 23 16:38:04 EDT 2006


This doesn't make any sense to me.

NIO and streams don't work well together.

NIO is based around a fixed size buffers - this is a quite different way of working to the old stream based io that most people are used to.

As I said earlier in this thread I would be suprised if you can create an API that works equally well for blocking and NIO.

If we want to get the best performance the API must expose access to the underlying buffers. There's no way around this without sacrificing performance which is not an option IMHO.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980195#3980195

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980195



More information about the jboss-dev-forums mailing list