Forums Register Login

Stress testing JMS container

+Pie Number of slices to send: Send
I am planning to stress test some JMS containers like Jboss messageing. Can you help me to list the test that should be carried out.
Thanks,
Pradip
+Pie Number of slices to send: Send
Just my thoughts:

1) Bombarding a queue/topic with large number of messages(in thousands) at a given time and checking whether each one of them is delivered to the listener.

2) Checking the number of resources used (may be number of threads spawned) when large number of messages are being delivered.
+Pie Number of slices to send: Send
 

2) Checking the number of resources used (may be number of threads spawned) when large number of messages are being delivered.



Is there any tool to detect the threads and memory used. An open source one.
+Pie Number of slices to send: Send
If you are looking for a Open-Source profiler, then i have heard of JMP - Java Memory Profiler, but never used it. I have used JProfiler which has good features. JProfiler is not a open source, but does have a free evaluation copy.
[ July 26, 2006: Message edited by: jaikiran pai ]
+Pie Number of slices to send: Send
Thanks. Can tools like Grinder help me ?
+Pie Number of slices to send: Send
 

Originally posted by Pradip Bhat:
Thanks. Can tools like Grinder help me ?


To some degree, yes.
+Pie Number of slices to send: Send
When I try to send too many messages (10k) to the JBoss messaging, I get the following exception. The Jprofiler shows that the maximum heap size has not been reached. I am using Oracle 9i as my persistent data store. The problem has been noticed even when using default Hypersonic database.

org.jboss.aop.NotFoundInDispatcherException: Object with oid: -2147483596 was not found in the Dispatcher
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:85)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:691)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:443)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:530)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:253)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
at org.jboss.remoting.Client.invoke(Client.java:610)
at org.jboss.remoting.Client.invoke(Client.java:602) .....

 
+Pie Number of slices to send: Send
This looks similar to the post in JBossMessaging forum. It's a lengthy discussion there, but looks similar. Have a look.
+Pie Number of slices to send: Send
Thanks jaikiran. The problem seems to be because JBoss app server was running out of memory. Strange that I did not see any java.lang.OutofMemoryError.

One more issue.
After finishing delivering messages to all durable subsribers I have noticed that JBOSS does not remove the messages from the database. I am using the default timeout. I am not wrong, once the JMS provider finishes delivering messages to all subscribers it is supposed to remove the messages from the datastore even if it is default timeout (= for ever). Otherwise datastore will simply grow big.
+Pie Number of slices to send: Send
Has anyone done a performance comparison between JBoss Messaging and ActiveMQ
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1694 times.
Similar Threads
JMS ConnectionFactory configurations in JBoss AS 5.1.0
Integration of jboss messaging with jboss
OutofMemoryError with JBOSS v3.0.2 JMS
Send msg to JMS
Session timeouts and listeners....
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:02:56.