Advertisement Discovery Performance
GEOFFREY DIX <[email protected]> Fri, 09 Sep 2005 07:49:01 -0600
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am currently trying to run performance tests on an application I have written using the Java JXTA implementation (v 2.3.x). I begin by starting up 12 peers on different nodes of a linux cluster. Each peer creates and advertises a bidi pipe and all peers are members of the same group. I discover the pipe advertisements by name (all advertisement names are built using <PeerGroupName>:<PeerName>) by making a call to getRemoteAdvertisements using 15 as the number of advertisements I would like to retrieve. I wait about 10 seconds before sending the next getRemoteAdvertisements request (I have tried many different combinations - 1sec, 30secs, 60 secs) to give my discovery listener time to parse the advertisements and attempt to connect to the pipes. Currently it takes about 5-10 minutes for all the peers to discover and connect to each other peer (though sometimes the discovery does not succeed for all peers). My problem (finally) is that since I am still in the process of making changes to my software baseline I would like to find a way to improve the speed at which peers are discovered and wonder if there is a more efficient method for discovery that I am not aware of? Thanks in advance for any help/suggestions you can offer. Geoff