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 » metering flow usage

Post new topic  Reply to topic
 metering flow usage « View previous topic :: View next topic » 
Author Message
WBIMaestro
PostPosted: Wed Aug 15, 2012 9:32 am    Post subject: metering flow usage Reply with quote

Acolyte

Joined: 18 Feb 2005
Posts: 53

Hi,

are there any features in the broker or any supporting utilities that would tell me how much CPU memory etc... a particular flow is consuming? basically when setting up a service-oriented architecture, how does one track and prevent/alert on a given flow being overloaded by mesages causing excessive processor and CPU usage? any best practices from the listers here?

thx
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 15, 2012 9:38 am    Post subject: Re: metering flow usage Reply with quote

Grand High Poobah

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

WBIMaestro wrote:
are there any features in the broker or any supporting utilities that would tell me how much CPU memory etc... a particular flow is consuming?


Yes. Research the statistics and monitoring facilities in the InfoCenter.

WBIMaestro wrote:
basically when setting up a service-oriented architecture, how does one track and prevent/alert on a given flow being overloaded by mesages causing excessive processor and CPU usage?


You use SOAP over JMS & monitor input queue depth.

You can also use the facilties I menetion above to track usage in a test environment to scale production correctly, and usage over time to rescale as needed.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
WBIMaestro
PostPosted: Thu Aug 16, 2012 6:29 am    Post subject: Reply with quote

Acolyte

Joined: 18 Feb 2005
Posts: 53

actualy, the question is more along the lines of 'how would i implement governance around a SOA solution based on broker'.

Message flow statistics will give me throughput info, but how about CPU, memory consumption as well as threads being spawned for a specific message flow. I guess I could limit the number of threads for the message flow right? basically i want to be able to detect and alert on scenarios where a runaway requesting app dosent overload a particular message flow or the corr broker and end up denying service or causing an outage to other flows and brokers on that server..
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Aug 16, 2012 6:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

For chargeback purposes, assign a per-transaction cost and meter the business-level transactions. For example, credit card networks charge nine cents per transaction; electric companies charge twelve cents per kilowatt hour.

For authentication, you can use the Security Enforcement Point to choose whether or not to honor a request.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.samples.securitypepnode.doc%2Fdoc%2Fintroduction.htm
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Aug 16, 2012 6:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You should ideally have a gateway/frontend http server in front of your brokers, to ensure that you can properly isolate your consumer applications from the actual physical addresses of the message flows that are acting as providers (or provider-proxies).

You can monitor the statistics on the broker http listeners and the eg soap listeners. But you should also monitor the gateway traffic.

And in general if you ask about "governance" and "message broker", you'll get told "WSRR".
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 16, 2012 6:51 am    Post subject: Reply with quote

Grand High Poobah

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

WBIMaestro wrote:
Message flow statistics will give me throughput info, but how about CPU, memory consumption as well as threads being spawned for a specific message flow.


Resource statistics give those.

WBIMaestro wrote:
I guess I could limit the number of threads for the message flow right?




WBIMaestro wrote:
basically i want to be able to detect and alert on scenarios where a runaway requesting app dosent overload a particular message flow or the corr broker and end up denying service or causing an outage to other flows and brokers on that server..


That's all about how you distribute flows and which resources they share.
_________________
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 » WebSphere Message Broker (ACE) Support » metering flow usage
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.