Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java NIO Frameworks

tmazightMay 17 2012 — edited May 23 2012
Hi,

I'm on specification step of programming a network application with Java,in this application the server have to handle about 300 client and at a period of time each client send 60Message/Second (messages have relatively small size) so my server have to manage 60Message/s per client that's the only constraint that i have,

As i can see there is two standards for this, Java IO and Java NIO(New IO), i deduced that NIO gives more performance with sockets than NIO and that's using non blocking sockets, so now i think i will choose NIO.

From googling a little bit, i arrived to the shortlist of two frameworks : MINA and Netty ,they are two of them based on NIO, articles on internet tells that Netty gives more perfomance form using socket.

I'm posting this message to hear from you what will you choose in my situation (that i explained at the beginning) i'm open for any suggestion (IO or NIO / and if it is NIO witch framework to use , MINA Netty or other) and why ?

regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2012
Added on May 17 2012
10 comments
1,054 views