Products | Versions |
---|---|
TIBCO Enterprise Message Service | - |
Not Applicable | - |
Resolution:
Environment:
= = = = = = =
All
Resolution:
= = = = = = =
We ship tibjmsMsgConsumerPerf.java and tibjmsMsgProducerPerf.java under <EMS root>/samples/java.
You can run the command “java tibjmsMsgConsumerPerf –help” or “java and tibjmsMsgProducerPerf –help” to get the full command line options.
You can use those two programs to test your EMS server throughput based on your business requirement such as messages size delivery mode, compression, acknowledge mode, etc.
The following is the sample output of tibjmsMsgConsumerPerf.java and tibjmsMsgProducerPerf.java
C:\tibco\ems\6.3\samples\java>java tibjmsMsgProducerPerf -count 1000 -delivery PERSISTENT -queue queue.sample
------------------------------------------------------------------------
tibjmsMsgProducerPerf SAMPLE
------------------------------------------------------------------------
Server....................... tcp://localhost:7222
User......................... null
Destination.................. queue.sample
Message Size................. 0
Count........................ 1000
Production Threads........... 1
Production Connections....... 1
DeliveryMode................. PERSISTENT
Compression.................. false
XA........................... false
------------------------------------------------------------------------
1000 times took 0.087 seconds, performance is 11494 messages/second
C:\tibco\ems\6.3\samples\java>java tibjmsMsgConsumerPerf -ackmode CLIENT –count 1000 -queue queue.sample
------------------------------------------------------------------------
tibjmsMsgConsumerPerf SAMPLE
------------------------------------------------------------------------
Server....................... tcp://localhost:7222
User......................... null
Destination.................. queue.sample
Consumer Threads............. 1
Consumer Connections......... 1
Ack Mode..................... CLIENT_ACKNOWLEDGE
Durable...................... false
Selector..................... null
XA........................... false
------------------------------------------------------------------------
1000 times took 0.143 seconds, performance is 6993 messages/second