[netty-users] First experience with netty (and small typo in documentation)

jdv145 jandevries145 at fastmail.fm
Thu Nov 6 14:53:51 EST 2008


I'm almost finished with making my mina based server and i very recently
noticed you have sort of forked away from mina. Although i think its always
a pity if you had to leave the way you left, i think its a good decision for
you (and everyone else in the end). I see you are very much motivated, and i
have great respect for your enthusiasm. 

Although i really liked mina, and i have no real reason to hop onto
something else, i always like to use the newest, latest, greatest
software/libraries. Although the server im building will mina based (at
first) i already made the planning to exchange it with netty pretty soon.
But ppl are waiting and for the server so i really think its a shame i have
to use mina now while i know im going to replace it soon.

Anyway, i wanted to share my experience, which might be useful for you and
other...
Coming from mina i first tried to change my mindset to netty. I also had a
bit of a problem when starting with mina because i was pretty new to java
programming and pretty new to network programming. But the examples and
especially the (powerpoint) presentations were a great help. 
With netty i printed the examples a couple of times and read it. Coming from
mina i noticed a similar architecture, and the pipeline concept with
handlers were very easy to comprehend. But i think it will be a bit hard for
someone unfamiliar with i.e. mina might have a hard time getting hist mind
around the whole thing.. What i would have liked if there was some easy to
understand pictures with the pipelines and some code adding handlers like
there were in the presentations on the mina site. They touch the core
concept of the whole thing and i think if you understand that the rest is
easy. (but this might not be the case for other peeps).
I'm a bit short of time and i only play with a new netty based server in my
breaks, but generally i get the idea you have used the good ideas from mina
and improved it even further. I get a sense that everything is sort of where
i would expected it and everything feels like it has been designed simple
but very powerful and fits like a glove. 

Although i am going to try netty, im a bit reluctant to use it on a live
server so im wondering, can you give me a sort of summary about what i can
expect?
I know mina has ben developed over a long time and small bugs can only be
fixed after heavy testing and usage. But i also know that if you start a
system or library from the ground up, it has a lot less bugs then a system
tweaked, changed and hammered by many people. What can i expect if i would
run it on a live server? I like performance, but it must not be at the
expense of robustness. Will it be able to run weeks at a time?

I think people who are potentially interested in netty are probably have
experience with mina. I know it might be "politically" not a good idea, but
maybe a short crash course about the biggest differences with mina? Would be
great for users i think.

then the small typo:

http://www.jboss.org/file-access/default/members/netty/freezone/api/3.0/org/jboss/netty/handler/codec/string/StringDecoder.html

pipeline.addLast("frameDecoder", new
DelimiterBasedFrameDecoder(Delimiters.lineDelimiter()));

the DelimiterBasedFrameDecoder needs to have a maxframesize value in its
constructor. 

I hope you continue the development of netty and make it as good (or better
;) ) then mina. I know from your work you are a great developer and i have
no doubt you will make netty one of the best libraries around (if not i
wouldn't have start using it since i have no real urging issues with mina to
switch ;) )

Regards,

J de Vries

PS excuse my grammer, im not english
 
-- 
View this message in context: http://n2.nabble.com/First-experience-with-netty-%28and-small-typo-in-documentation%29-tp1466800p1466800.html
Sent from the Netty User Group mailing list archive at Nabble.com.




More information about the netty-users mailing list