[jboss-jira] [JBoss JIRA] Commented: (JGRP-375) Paralellize discovery phase
Vladimir Blagojevic (JIRA)
jira-events at lists.jboss.org
Mon Jan 21 18:34:25 EST 2008
[ http://jira.jboss.com/jira/browse/JGRP-375?page=comments#action_12396096 ]
Vladimir Blagojevic commented on JGRP-375:
------------------------------------------
Resolved on HEAD.
Revision Changes Path
1.34 +18 -13 JGroups/src/org/jgroups/protocols/TCPPING.java
Resolved on 2.6
1.32.4.1 +19 -9 JGroups/src/org/jgroups/protocols/TCPPING.java
> Paralellize discovery phase
> ---------------------------
>
> Key: JGRP-375
> URL: http://jira.jboss.com/jira/browse/JGRP-375
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 2.4
> Reporter: Bela Ban
> Assigned To: Bela Ban
> Priority: Minor
> Fix For: 2.7
>
>
> With TCPPING, if we have 10 servers defined in the list, we sequentially send a GET_MBRS_REQ to each. However, if that server is not reachable, we will timeout out on the socket connect call. Also, DNS lookup might take some time, so we might time out if we cannot contact all servers. Example: servers 1 - 10. 1-9 are down or not reachable, plus we have a slow DNS, 10 is running. So before we get to 10, the discovery will timeout and we will become a singleton node.
> SOLUTION: use threads from the common (global) thread pool in JGroups to parallelize the sending of requests to all 10 servers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list