You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Frederic Soulier <fr...@wallaby.uklinux.net> on 2007/02/20 22:15:36 UTC
UDP
Hi
We've been pretty successful at implementing a complex message protocol
using MINA (0.9.3 then 1.0.x) over TCP.
We're now considering implementing the same protocol over UDP.
So my first questions are:
- is the UDP implementation in MINA as solid as the TCP one?
- is there any magic going on under the hood I should be aware of?
(I assume that the UDP packets will arrive in any order and that
we'll have to implement our own re-ordering mechanism)
Thx.
--
Frederic Soulier <fr...@wallaby.uklinux.net>
OpenPGP key available on http://www.keyserver.net
1024D/BA6700ED 49A6 8E8E 4230 8D41 1ADE B649 3203 1DD2 BA67 00ED
Re: UDP
Posted by Trustin Lee <tr...@gmail.com>.
2007-02-20 (화), 21:15 +0000, Frederic Soulier 쓰시길:
> We've been pretty successful at implementing a complex message protocol
> using MINA (0.9.3 then 1.0.x) over TCP.
> We're now considering implementing the same protocol over UDP.
>
> So my first questions are:
>
> - is the UDP implementation in MINA as solid as the TCP one?
I've only done basic tests on the UDP implementation due to not enough
demand. It uses only one CPU core per acceptor/connector, so it won't
outperform the TCP implementation. Greg Duffy is working on a new
implementation though. But, please give it a try. We will fix any bugs
found.
> - is there any magic going on under the hood I should be aware of?
> (I assume that the UDP packets will arrive in any order and that
> we'll have to implement our own re-ordering mechanism)
There's a protocol called SCTP. You could take a look into it although
we didn't implement SCTP yet.
HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6