Farm service startup performs way too many file transfers
---------------------------------------------------------
Key: JBCLUSTER-44
URL:
https://issues.jboss.org/browse/JBCLUSTER-44
Project: JBoss Clustering
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: Jboss 4.0.2 final, Java 1.5.0_02
Reporter: Gabriele Garuglieri
Assignee: Scott Marlow
Fix For: Q2Y5
Attachments: JBCLUSTER-44-2.txt, JBCLUSTER-44.txt
Suppose you have a cluster of N nodes and each node has A applications in the farm
directory.
Now you join node (N+1) to cluster, it receives N farmDeployments responses and
pullNewDeployments() is called for each response.
This means that each of the A applications is pulled from each of the N nodes for each
call to pullNewDeployments().
Now there are two problems, there are (N**2)*A transfers and for large values of N and A
this may become a problem. It can be even worse if the size of A files is large and there
may be a huge latency in startup.
Second, given that by definition the farming service keeps in sync all the member of the
cluster, once the A files are pulled from the first cluster member then i have
[(N**2)*A]-A useless transfers.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: