Issue Details (XML | Word | Printable)

Key: DIRMINA-66
Type: Wish Wish
Status: Closed Closed
Resolution: Invalid
Priority: Minor Minor
Assignee: Trustin Lee
Reporter: Frederick Haebin Na
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

Does your StreamIoHandler works better than java.io?

Created: 25/Jun/05 09:05 PM   Updated: 29/Jun/05 02:34 AM
Return to search
Component/s: None
Affects Version/s: 0.7.2
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 28/Jun/05 09:08 AM


 Description  « Hide
Hey, trustin, this is rick.

Arreo is about to change the underlying networking library to MINA soon. (I strongly insisted, he he. cuz they were trying to build new one -_-)
Anyway, I was thinking using MINA for all the server applications I made, yet I found out that it does not provide any good stuffs you promised to provide in MINA. No reusable codecs, no what so ever, but just plain old java.io like feature.

Heck, I read the document regarding StreamIoHandler, but no clue why should it be better than using java.io.
I don't even need a factual proof. But just wanna hear that MINA is somehow better than java.io from you. he he. ;-)

Anyway. KEEP UP THE GREAT WORK, ya doing!
I wish you the best, brother.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee added a comment - 28/Jun/05 09:08 AM
Hey Rick,

* Reusable CODECs

It means that you can implement your own codec and reuse it for later use if it is reusable enough. For example, let's assume you've created a generic object streaming protocol codec, then you'll be able to reuse it again and again later.

* StreamIoHandler

First of all, it uses NIO and therefore it is more scalble. And it does asynchronous I/O. So there is performance gain when your business logic is blocked by other factor than network I/O (e.g. Disk I/O, database access...) There's a known performance benchmark that beats Tomcat using this technique: http://www-106.ibm.com/developerworks/library/j-nioserver/

Thanks,
Trustin

Trustin Lee added a comment - 28/Jun/05 09:08 AM
BTW you had to post this message to the mailing list. :)

Frederick Haebin Na added a comment - 29/Jun/05 02:34 AM
Okay. Thank you very much.