|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WBI Persistence and nonpersistence Msg Response |
« View previous topic :: View next topic » |
Author |
Message
|
abs_cal |
Posted: Tue Aug 23, 2005 6:02 am Post subject: WBI Persistence and nonpersistence Msg Response |
|
|
Acolyte
Joined: 18 Aug 2005 Posts: 62
|
Anybody can explain me why nonpersistence msg is having better response time than persistence in broker. Would be great if you explain a bit more. Is it viceversa in Java? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Aug 23, 2005 6:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's got nothing to do with broker or Java.
MQ does more work with persistant messages than it does with non-persistant messages, to ensure that they *are* persistant.
Persistant messages will always be slower than non-persistant messages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
zpat |
Posted: Tue Aug 23, 2005 6:45 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Persistent messages cause disk i/o, slower - but surer if the queue manager restarts (as they are recovered from disk).
Use non-persistent where the recovery is by the application (for example a request message is re-issued if no response is received) but make the messages have expiry values.
Use persistent where the application relies on the assured delivery (and these usually have no expiry). |
|
Back to top |
|
 |
hopsala |
Posted: Tue Aug 23, 2005 10:02 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
If memory serves, you can determine the trasaction level for broker processing (You can implement it in your code, and there's a parameter for flow that you can set to do this automatically) - so that if entering msg is non-persistent, broker works much like mq with very low recovery level, and if message is persistent works with recovarable transactions. The broker works much faster when in unrecovarable mode.
I don't remember where that parm is, but i'm sure you can dig it up. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|