-
1. Re: NullPersistence service manager performance
brettcave Mar 20, 2009 7:48 AM (in response to brettcave)DefaultDS used in mysql-persistence cases uses a sql server on the network (1gbps). messages are sent as NON_PERSISTENT
Why would null-persistence be running slower? -
2. Re: NullPersistence service manager performance
timfox Mar 20, 2009 7:51 AM (in response to brettcave)You should explain what your test does and what your results mean.
-
3. Re: NullPersistence service manager performance
brettcave Mar 20, 2009 8:57 AM (in response to brettcave)The timing metrics are measured internally by the EJB that contains the method to send the message to JMS.
A message is generated by our application. This message is passed to the method above.
A JMS producer is initialised.
A message correlation ID is generated from the message.
A JMS consumer is initialised.
The message is sent to the jms provider (jbm), flagged as non-persistent.
stomp connect is running (bisocket) and a native app (C) receives the message, performs some actions, and then sends a response back to JMS via stompconnect, where the EJB that initially sent the message receives the response.
The response message contains the timing of the native app, and the EJB then subtracts this time from the total timing.
So the results posted are basically for initalising the producer, generating / getting the correlation ID, sending the message until the message hits the app, and then from the message being sent back to JMS until it is received by the EJB.
The results basically are showing the timing differences between JBM 1.4.0-SP3 configured with mysql-persistence (even though messages are sent as non-persistent), JBM 1.4.2-SP1 with mysql-persistence and JBM 1.4.2-SP1 configured with null-persistence.
Trying to understand why null persistence configuration consistently has significantly higher latency than mysql persistence configuration, even though messages are always marked as non-persistent. -
4. Re: NullPersistence service manager performance
timfox Mar 20, 2009 9:09 AM (in response to brettcave)10 requests is nowhere near enough for this to be statistically significant.
You should try again with several thousands (or 10s of thousands) of requests.
Let the test run for several minutes before taking results. -
5. Re: NullPersistence service manager performance
brettcave Mar 20, 2009 9:28 AM (in response to brettcave)setting up jmeter for substantial testing.