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
signature.asc
Description: This is a digitally signed message part
