|
Page Created :
qpid :
Sustained Tests
Sustained Tests has been created by Martin Ritchie (Jun 25, 2007). Content:Pub/Sub Sustained TestsWe currently have one sustained test for pub / sub messaging. The test is based on the interop testing framework and as such there are two classes that are involve.
As with the Interop Tests SustainedTestClient TestThis test is a pub/sub test. There is a single publisher that sends batches of messages to a known topic. The clients then receive these messages and report the time required to retrive all of the batch. This reported time is sent to the publisher so that it can adjust its publication rate to ensure that messages are sent at a rate that all clients can maintain. UsageThe coordinator can take a number of parameters.
The client also has one additional parameter.
It is important to remember that each cilent must be uniquly named for the test to accurately work. This can be done by ensuring that all clients specify a unique "-n" value. So running java -cp <qpid.jar> org.apache.qpid.sustained.TestClient -n client2 -j org.apache.qpid.performance.sustainedrate.SustainedTestClient
|
Unsubscribe or edit your notifications preferences
