Author |
Message
|
maha20 |
Posted: Tue Feb 17, 2004 3:49 pm Post subject: Multiple instances |
|
|
 Voyager
Joined: 23 Sep 2003 Posts: 79
|
Hello-
Is it possible to define multiple instances of a message flow in a single execution group. I am using WMQI 2.1 CSD level 2. Thanks.
Maha _________________ IBM Certified System Administrator -WMQ V5.3
SCJP 1.4 |
|
Back to top |
|
 |
EddieA |
Posted: Tue Feb 17, 2004 5:28 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Have you tried it. You would have got the answer a lot quicker than asking here.
I wouldn't think so because they would have the same name and UUID.
You could use the same flow in multiple execution groups (processes). Or you can run additional instances of the flow inside a single execution group (threads).
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Missam |
Posted: Tue Feb 17, 2004 7:51 pm Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
On Which Platform are you working.Solaris has some isuues on This.
Usually you can add instances by checking out Execution Group right click on the Message FLow ,Say Properties |
|
Back to top |
|
 |
Missam |
Posted: Tue Feb 17, 2004 8:31 pm Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
|
Back to top |
|
 |
maha20 |
Posted: Wed Feb 18, 2004 10:52 pm Post subject: |
|
|
 Voyager
Joined: 23 Sep 2003 Posts: 79
|
Thanks Eddie and Sam. I see in many documents about multiple instances and message flow copies to increase overall performance. But I am unable to figure out the differences between the two .. could someone please enlighten me abt it .. Thanks ..
Surya |
|
Back to top |
|
 |
kirani |
Posted: Wed Feb 18, 2004 11:06 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
If you deploy the same message flows to two different EG then you would get better performance as suppose to setting additional instance property on the message flow.
WMQI 2.1 Performance report supportPac and WMQI manuals explain more about this topic. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
EddieA |
Posted: Wed Feb 18, 2004 11:27 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
I (kind of) gave you the differences earlier.
If you run seperate Execution Groups, then they run as seperate processes. If you run Multiple Instances, within an Execution Group, they are mutiple threads.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Missam |
Posted: Thu Feb 19, 2004 7:54 am Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Hi,
I'm working on MQSI2.1 with CSD2 and CSD5 on Sun O/S.when i'm testing the performance.I found out we get better performance when deploying to mutiple execution group's.And when i add extra instances to the flows.i observed slight performance degrades.And it all depends on the processor through put and no of cpu's. |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Feb 19, 2004 9:22 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Having worked with MQSI on both AIX and Solaris...
On AIX the multiple instances does exactly what it is for, as soon as messages start queueing up on your input Q
the broker fires off multiple instances (up to the number you specified) to increase the throughput
When the queue is empty or lower then the instances count the instances are removed again (automatically)...
you can see this behaviour when you monitor the open input count on the queue...
On Solaris... The multiple instances are fired, but only one at a time does any work (this has to do with a different threading model on Solaris...
so I was told by IBM support and they were unable to fix this...) therefore if you DO use the multiple instances on Solaris, you are shooting yourself in the foot and reducing throughput!!!
To avoid noticing this behaviour... IBM wrote the document that Multiple instances are not supported on Solaris
http://www-106.ibm.com/developerworks/websphere/library/techarticles/0301_dunn/dunn.html
Also in the MQSI Solaris performance guide (the one I read at the time...) multiple instances were NOT mentioned as opposed to the AIX one.
Michael |
|
Back to top |
|
 |
|