Author |
Message
|
vijayakumar |
Posted: Sun Apr 24, 2011 6:23 am Post subject: calculate the performance of the message flow |
|
|
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 |
|
 |
Vitor |
Posted: Sun Apr 24, 2011 7:41 am Post subject: Re: calculate the performance of the message flow |
|
|
 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 |
|
 |
vijayakumar |
Posted: Sun Apr 24, 2011 9:37 am Post subject: |
|
|
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 |
|
 |
smdavies99 |
Posted: Sun Apr 24, 2011 9:54 am Post subject: |
|
|
 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 |
|
 |
kimbert |
Posted: Sun Apr 24, 2011 2:10 pm Post subject: |
|
|
 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 |
|
 |
smdavies99 |
Posted: Sun Apr 24, 2011 9:44 pm Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Mon Apr 25, 2011 4:09 am Post subject: |
|
|
 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 |
|
 |
rbicheno |
Posted: Mon Apr 25, 2011 11:41 pm Post subject: |
|
|
Apprentice
Joined: 07 Jul 2009 Posts: 43
|
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Apr 26, 2011 12:15 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
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 |
|
 |
|