directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@gmx.de>
Subject [Mina] Reliable UDP-based protocol
Date Wed, 18 Jan 2006 16:14:10 GMT
Hi all,

I like to know your professional advice if the following project is
efficient realizable with the current version of mina:

I plan to implement a UDP-based protocol which offers features like flow
control, rate control, ARQ and so on. Therefore, every UDP packet contains a
small header which stores 
	1. Flags (1Byte) (e.g. END-Flag, ARQ-Flag, ...), 
	2. Message Id (2 Bytes),
	3. Fragment nr. (2 Bytes).

So, with the help of the fragment number a message can be split into several
packets. On server side, the message must be refragmented. Therefore, a
received packet is delegated by it's extractable Virtual Connection Id,
IP:Port:MsgId, to the belonging Message Session, which is responsible for
refragmentation, ARQ, Timeout, etc. With regard to the performance a nearly
zero-copy-concept must be implemented.

Do you think this project is efficient realizable with the current mina
version?


This protocol is intended for offering a reliable SOAP-Binding based on UDP.
So, a refragmented request message often leads to a response. For sake of
simplicity, each host receives and sends messages using always the same
local UDP port. Can this be achieved with mina? If yes, how?


Thanks for your help and advice!
Chris


By the way, if somebody likes to know more about this protocol than take a
look at Bandwidth and Latency Considerations for Efficient SOAP Messaging,
in International Journal of Web Services Research, Vol. 3, No. 1, 2006




Mime
View raw message