[jgroups-dev] Multiple transports within a protocol stack

balrog of moria <[email protected]> Fri, 13 Jan 2012 15:12:17 +0100
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <CACxvA2A5SCfNEOW4pDtQTvne8Q3_dD8yi4ndXtOnXXBgY=hNMQ@mail.gmail.com>
Before I submit a feature request, I wanted to validate the idea with the
JG developer community.

Simply put I want to use both TCP and UDP as available transports but with
different functions. My end goal would be a TCP based stack, but using
UDP/Multicast for discovery. Now I was thinking of writing my own PING
implementation to use its own transport device, similar to what
STREAMING_STATE_TRANSFER does in a UDP based stack. But this is just for my
needs.

Perhaps adding a transient flag to Message stating the "preferred"
transport, of course both of which would be sharing thread groups and other
resources the way shared transports work.

Any thoughts?

Nicolas

ps. This is a follow up to my post in jg-users where I was requesting a
dependency map of protocols (PING is dependent on UDP, TCPPING
is dependent on TCP, GMS on everything in pbcast etc).

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2

_______________________________________________
Javagroups-development mailing list