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 » Multiple instance of message flow

Post new topic  Reply to topic
 Multiple instance of message flow « View previous topic :: View next topic » 
Author Message
ethirajesh
PostPosted: Thu Jan 27, 2011 5:03 am    Post subject: Multiple instance of message flow Reply with quote

Apprentice

Joined: 04 Oct 2010
Posts: 46

Hi Friends,

My message flow is handling lots of buisness logic in it, and also there will 1700 messages coming to it at a time. I am thinking of having multiple instance of this message flow as a first step(I have reviewed the ESQL and feel no more tweaks possible in it).

Lokking for your answers for below three questions

1) Under the property of .cmf file, I am going to increase Additional Instance count and deploy in test environment. Does this suffice?

2) Per my understanding, if I increase the instance it will consume more memory, do I need to do some changes elsewhere to accomodate this?

3) How many instance would be a optimum count?
Back to top
View user's profile Send private message
fatherjack
PostPosted: Thu Jan 27, 2011 5:10 am    Post subject: Re: Multiple instance of message flow Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

ethirajesh wrote:
1) Under the property of .cmf file, I am going to increase Additional Instance count and deploy in test environment. Does this suffice?


Depends on your performance / throughput / response time requirements.

ethirajesh wrote:
2) Per my understanding, if I increase the instance it will consume more memory, do I need to do some changes elsewhere to accomodate this?


Depends on how much memory your box has got.

ethirajesh wrote:
3) How many instance would be a optimum count?


As many as you need to meet your SLAs.
_________________
Never let the facts get in the way of a good theory.
Back to top
View user's profile Send private message
fatherjack
PostPosted: Thu Jan 27, 2011 5:15 am    Post subject: Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

Take a look at support pac IP04
_________________
Never let the facts get in the way of a good theory.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jan 27, 2011 5:15 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Tune your logic first. Focus on any iterative logic and read up on WMB performance hints and tips.

It would be unusual to have to run more than one flow at once to overcome a shortage of CPU power.

Why is the flow too slow - what is the limiting factor?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 27, 2011 5:35 am    Post subject: Re: Multiple instance of message flow Reply with quote

Grand High Poobah

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

ethirajesh wrote:
1) Under the property of .cmf file, I am going to increase Additional Instance count and deploy in test environment. Does this suffice?


This will increase the number of instances of the flow

ethirajesh wrote:
2) Per my understanding, if I increase the instance it will consume more memory, do I need to do some changes elsewhere to accomodate this?


You might need to install some more memory chips in the server. Depending on your environment, you might need to increase some OS parameters. Speak to the box admins.

ethirajesh wrote:
3) How many instance would be a optimum count?


Define "a time" in which these 1700 messages will arrive (a second, a minute, an hour, a day). Determine how long 1 message flow takes to process 1 message. Determine how long the SLA for a given message. Using these values, calculate how many instances you need to meet this SLA.

This will be your optimium number, or the first approxiamation of it. There's no such thing as the optimium number.

Then you test it, see if the box will support that number of threads, see if you'd be better off using a cluster to split the load, see if you can't actually have multiple threads because the database has table locks, etc, etc, etc, etc, ...
_________________
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 » Multiple instance of 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.