ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » WBI Persistence and nonpersistence Msg Response

Post new topic  Reply to topic
 WBI Persistence and nonpersistence Msg Response « View previous topic :: View next topic » 
Author Message
abs_cal
PostPosted: Tue Aug 23, 2005 6:02 am    Post subject: WBI Persistence and nonpersistence Msg Response Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 23, 2005 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Aug 23, 2005 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message
hopsala
PostPosted: Tue Aug 23, 2005 10:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » WBI Persistence and nonpersistence Msg Response
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.