]
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: