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 » Triggering Mechanism Approach "Needed Advice" in M

Post new topic  Reply to topic
 Triggering Mechanism Approach "Needed Advice" in M « View previous topic :: View next topic » 
Author Message
run
PostPosted: Thu Jun 11, 2009 9:49 am    Post subject: Triggering Mechanism Approach "Needed Advice" in M Reply with quote

Apprentice

Joined: 14 May 2007
Posts: 45
Location: Newyork, USA

To all grand masters out there needed an advice on two approaches that we are considering right now
Overview: This is a synchronous transaction. An XML to CPY vice verse (Note: mainframe is VSE and MQ version 2 does not participate in clustering so it’s a point to point). A Single transaction (XML message comes in transformed to a CPY sent to MAINFRAME but as a response multiple messages are put on the response queue in a group which are picked up by the broker to process.***Note(throughput here is 800,000 per day)
1 Approach: when a message arrives on local queue say MFREQUEST on mainframe (triggering is set up on the queue) that triggers a COBOL program to pick up the messages that arrived). The COBOL program picks up then picks up all the messages and process them by sending to other COBOL programs and sent out responses on to a MFRESPONSE queue.
2 Approach: Message arrives on the request MFREQUEST queue. A COBOL program keeps hitting the queue checking for messages every 2 seconds and process them when the message is available on the queue.
Questions: 1) which approach uses high CPU? 2) What is a better approach as the throughput is pretty high?
3) Any other approach that can be considered?

Any advice is deeply appreciated
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 11, 2009 10:53 am    Post subject: Re: Triggering Mechanism Approach "Needed Advice" Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

run wrote:
1) which approach uses high CPU?


It depends - see below

run wrote:
2) What is a better approach as the throughput is pretty high?


800,000 messages a day is not a lot. The better question is how many messages arrive in a block: if the messages arrive throughout the day then a long running application will be more efficient (though use get with wait rather than polling or you'll burn CPU); if you have a large block of messages followed by periods of non-delivery triggering will offer advantages

run wrote:
3) Any other approach that can be considered?


Possibly - certainly there are a number of variants of these methods.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 11, 2009 12:33 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

MQ version 2 on the Mainframe ? Is that even still supported? Upgrade! Upgrade!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
run
PostPosted: Thu Jun 11, 2009 12:52 pm    Post subject: Reply with quote

Apprentice

Joined: 14 May 2007
Posts: 45
Location: Newyork, USA

Its VSE not Z/OS VSE supports version 2 so far.IBM came out with version 3 but its not yet watched enough to actually upgrade.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Jun 11, 2009 7:52 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Recently there was an IBM Brown Bag Webcast on MQ Triggering. The PDF (37 pages, 294KB) and MP3 audio (48minutes, 5.6MB) has great coverage of this often misunderstood feature of MQ, including a section on problem determination. All MQ administrations should be able to diagnose problems with Triggering !

http://www-01.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&context=SSEP7X&q1=Triggering+webcast&uid=swg27015657&loc=en_US&cs=utf-8&lang=en
_________________
Glenn
Back to top
View user's profile Send private message
run
PostPosted: Thu Jun 11, 2009 7:57 pm    Post subject: Reply with quote

Apprentice

Joined: 14 May 2007
Posts: 45
Location: Newyork, USA

Thank you very much for the feedback I will go through it. Any further links and advices will be appreciated.
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 » Triggering Mechanism Approach "Needed Advice" in M
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.