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 » WebSphere Message Broker (ACE) Support » calculate the performance of the message flow

Post new topic  Reply to topic
 calculate the performance of the message flow « View previous topic :: View next topic » 
Author Message
vijayakumar
PostPosted: Sun Apr 24, 2011 6:23 am    Post subject: calculate the performance of the message flow Reply with quote

Centurion

Joined: 01 Aug 2010
Posts: 101

how we can calculate the performance of the flow,rate at which the messages are consumed from the Input Queue and processed by the message flow and posted into the output Queue?

For eg: Thousand messages are posted into a queue,how much time taken by the flow to process the message.

how we can calculate this?
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Apr 24, 2011 7:41 am    Post subject: Re: calculate the performance of the message flow Reply with quote

Grand High Poobah

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

vijayakumar wrote:
how we can calculate this?


By getting enqueue/dequeue rates from the queue manager.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vijayakumar
PostPosted: Sun Apr 24, 2011 9:37 am    Post subject: Reply with quote

Centurion

Joined: 01 Aug 2010
Posts: 101

Sorry Vitor. I asked about to check the performance of the Broker message flow at what rate the messages are consumed from Queue.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Apr 24, 2011 9:54 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

If you want the elapsed time from when a message is dequeued and the thread generated by the message ending then enable FlowMonitoring for the broker and then enable the generation of 'startTransaction' & 'endTransaction' events for the flow in question.

Then the broker will publish the start & stop times for every message to a queue.
An application or a message flow could read those events and match the start & end events thus enabling the calculation of the elapsed time/duration of the flow for every message.

This is Not OOTB unless you have a licence for WebSphere Business Monitor(afaik).

If you are going to do this using a message flow you WILL have to use a Collector Node as occassionally broker in its infinte wisdom published the 'endTransaction' event before the corresponding 'startTransaction'.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Apr 24, 2011 2:10 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
This is Not OOTB unless you have a licence for WebSphere Business Monitor(afaik).
Message broker can *generate* all types of monitoring event, out of the box, since v6.1.0.3. Websphere Business Monitor is a very useful tool for processing the generated events, but there are other solutions - including writing your own message flow / application to do the processing.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Apr 24, 2011 9:44 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

kimbert wrote:
Quote:
This is Not OOTB unless you have a licence for WebSphere Business Monitor(afaik).
Message broker can *generate* all types of monitoring event, out of the box, since v6.1.0.3. Websphere Business Monitor is a very useful tool for processing the generated events, but there are other solutions - including writing your own message flow / application to do the processing.


Hmmm. Yes I could have probably made what I posted a little clearer.
To Clarify:-

The Generation on the events is OOTB once you have subscribed and configured the broker to emit the events.

The collection and analysis of the events is NOT OOTB unless you have a product such as WebSphere Business Monitor available.

We run a custom flow that collects the events and puts the results into a DB table. The flow is currently being updated so that it handles Node events as well (currently they are just thrown away).
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Apr 25, 2011 4:09 am    Post subject: Reply with quote

Grand High Poobah

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

vijayakumar wrote:
I asked about to check the performance of the Broker message flow at what rate the messages are consumed from Queue.


I understand that, and what I was proposing was that you ask the queue manager how fast the flow is consuming the messages to get that rate.

If you want more granular statistics on where the flow takes the time in consuming messages then the Broker monitoring espoused by my worthy associates is what you need.

There is of course no reason why you couldn't combine these methods if you feel this will help you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rbicheno
PostPosted: Mon Apr 25, 2011 11:41 pm    Post subject: Reply with quote

Apprentice

Joined: 07 Jul 2009
Posts: 43

Beware that enabling monitoring events of a flow will impact performance of the flow. So by measuring performance with this method you may not get a true reading of the flows performance if you are not going to run with monitoring on in production.
For measuring processing rates of message flows i always use this tool:
http://www.alphaworks.ibm.com/tech/perfharness

It will send messages through the flow and output a messages per sec reading of throughput. This tool is also referenced in the WMB performance reports here:
http://www-01.ibm.com/support/docview.wss?uid=swg27007150

As for finding hotspots and areas for tuning in flows i use MB Explorer and the Accounting and statistics views that it contains:
http://www.ibm.com/developerworks/websphere/library/techarticles/0710_piatek/0710_piatek.html

Hope this is useful.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 26, 2011 12:15 pm    Post subject: Reply with quote

Grand High Poobah

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

rbicheno wrote:
Beware that enabling monitoring events of a flow will impact performance of the flow. So by measuring performance with this method you may not get a true reading of the flows performance if you are not going to run with monitoring on in production.
For measuring processing rates of message flows i always use this tool:
http://www.alphaworks.ibm.com/tech/perfharness

It will send messages through the flow and output a messages per sec reading of throughput. This tool is also referenced in the WMB performance reports here:
http://www-01.ibm.com/support/docview.wss?uid=swg27007150

As for finding hotspots and areas for tuning in flows i use MB Explorer and the Accounting and statistics views that it contains:
http://www.ibm.com/developerworks/websphere/library/techarticles/0710_piatek/0710_piatek.html

Hope this is useful.

Great idea, but be aware that you might be running into problems with the MB Explorer in that area, if you are using SSL.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » calculate the performance of the message flow
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.