[jboss-jira] [JBoss JIRA] (JGRP-726) GossipRouter: support GET and REGISTER via UDP datagram packets

Bela Ban (Commented) (JIRA) jira-events at lists.jboss.org
Wed Nov 16 10:01:41 EST 2011


    [ https://issues.jboss.org/browse/JGRP-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643371#comment-12643371 ] 

Bela Ban commented on JGRP-726:
-------------------------------

I think we don't need to wait for the GR overhaul; all that's needed is
- The ability in GossipRouter to listen on a UDP socket (same port as the configured TCP port)
- The ability in RouterStub/RouterStubManager to create UDP sockets and listen for packets
- A flag in GossipRouter to enable TCP and/or UDP
- A flag in RouterStub/RouterStubManger/TCPGOSSIP to use TCP or UDP
                
> GossipRouter: support GET and REGISTER via UDP datagram packets
> ---------------------------------------------------------------
>
>                 Key: JGRP-726
>                 URL: https://issues.jboss.org/browse/JGRP-726
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Vladimir Blagojevic
>             Fix For: 3.1
>
>
> Currently, GossipRouter supports only TCP. If a GossipClient calls register() or getMembers(), then a TCP connection is established and torn down after the request. This is inefficient and leads to many sockets in TIME_WAIT states (which are cleaned up after 2 * MSL seconds).
> If we (in GossipRouter) add an additional listener, which listens on a UDP port, and provide the same for GossipClient, we would not use precious TCP sockets.
> Think about: we should separate the transport in GR from the processing logic, so we could support TCP, UDP, HTTP etc. Should we use JGroups (in unicast mode) for this ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list