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 » Efficient logging mechanism

Post new topic  Reply to topic
 Efficient logging mechanism « View previous topic :: View next topic » 
Author Message
Pavan Kumar PNV
PostPosted: Wed Nov 19, 2008 6:49 am    Post subject: Efficient logging mechanism Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

In an approach to test a typical request-reply scenario, if we were to log the messages flowing across a system that uses MQ server on both ends, can we discuss the options and their efficency? Eg: channel exits ..
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Vitor
PostPosted: Wed Nov 19, 2008 6:59 am    Post subject: Re: Efficient logging mechanism Reply with quote

Grand High Poobah

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

Pavan Kumar PNV wrote:
In an approach to test a typical request-reply scenario, if we were to log the messages flowing across a system that uses MQ server on both ends, can we discuss the options and their efficency? Eg: channel exits ..


If you have sufficient knowledge to produce channel exits, you don't need to test a request/reply scenario - you'd be able to set up & troubleshoot one in your sleep! Exits are the last resort answer to any problem.

If you're testing a scenario, put the message logging in the applications where it belongs (with a convienient switch so you can turn it off in production) and use the existing WMQ logging to identify problems.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Wed Nov 19, 2008 7:03 am    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

I totally agree that this is more like testing MQ rather than the flow of message across MQ, but unfortunately, there is a special validation requirment that we log the messages even as they flow across MQ apart from logging them at the application end. So, if we were to perform this test anyways, what would be the most efficent approach?
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
bruce2359
PostPosted: Wed Nov 19, 2008 7:08 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

In its role of message transport, MWQ does an excellent job of not losing or duplicating your messages; but applications can and do continue to do both.

To satisfy broader business goals, I'd suggest writing request-reply applications that are themselves sensitive to loss or duplication of data (messages).

Requestor application should keep track of requests it has sent and replies it has received back; while replying applications should keep track of requests it has received and replies it has sent back to the requestor.

This serves the purpose you require (validating the request-reply functionality); and, at the same time, ensure no lost or replicated data, AND meets the usual audit requirements.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 19, 2008 7:11 am    Post subject: Reply with quote

Grand High Poobah

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

Pavan Kumar PNV wrote:
there is a special validation requirment that we log the messages even as they flow across MQ apart from logging them at the application end.


Validation? What requirement? What details, exactly, need to be captured?

Assuming this is only in test, you could use something like the mirrorq exit to dump a copy of the messages into a spare queue and extract the relevant details.

Note these points well:

- mirrorq is sample code. It's not production strength, not intended to be, and using it like this will give management the false belief they can or should use it in production.

- the exit will affect performance and throughput.

- a problem with the exit will at best reduce throughput to a crawl and at worst bring the queue manager crashing down round your ears.

- because it's a sample, any problems you get will be generally yours to fix. Support may be thin on the ground (another reason why you don't want this in production)

Like I said, exits are a last resort. Push back against this requirement and build it into the endpoints. If you need to log WMQ like this, you need to question why you bothered to buy it!
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Efficient logging mechanism
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.