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 IBM MQ Support » Trigger Recommendation

Post new topic  Reply to topic
 Trigger Recommendation « View previous topic :: View next topic » 
Author Message
Lo
PostPosted: Tue Jul 11, 2006 2:04 am    Post subject: Trigger Recommendation Reply with quote

Novice

Joined: 14 Feb 2005
Posts: 21

All,
Could anyone post a link or document that specifically states the trigger type recommendation from IBM. I have read that triggertype of FIRST is preferable to EVERY in this and other forums.

I mostly understand the difference but would like an official statement of why FIRST is the recommended option from IBM.

thanks.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Jul 11, 2006 2:55 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

its not that easy to recommend. it also depends on the application design.

(e.g. if you want to have parallel processing)

the "cheapest" and maybe most common used trigger option is first, because only one trigger is created when the first message arrives. but - as i said above - it really depends on your application.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Jul 11, 2006 5:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I think most people don't like "every" for two reasons:

(1) there is the additional overhead of starting the application, connecting to a qmgr, opening a queue (and then close / disc) for every message.

(2) the supplied trigger monitors have no capability of throttling the number of processses started. So, if suddenly 10K messages are dropped on a queue with trigtype=every, the TM will attempt to start 10K processes, which, if done in parallel (ie, in the background) will probably swamp the system.

But, in certain cases, "every" might be justified.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Tue Jul 11, 2006 2:16 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, I believe there are still cases with trigtyp(every) where trigger messages will get suppressed. So that you might get one trigger of your app instead of two.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Jul 11, 2006 3:35 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

jefflowrey wrote:
Also, I believe there are still cases with trigtyp(every) where trigger messages will get suppressed. So that you might get one trigger of your app instead of two.
Yes, for example upon qmgr restart.....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Nigelg
PostPosted: Tue Jul 11, 2006 11:21 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

IBM does not make any such recommendation. You have to read the docs and decide for yourself which settings are best for your architecture.
_________________
MQSeries.net helps those who help themselves..
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 IBM MQ Support » Trigger Recommendation
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.