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 instances

Post new topic  Reply to topic
 Multiple instances « View previous topic :: View next topic » 
Author Message
maha20
PostPosted: Tue Feb 17, 2004 3:49 pm    Post subject: Multiple instances Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Tue Feb 17, 2004 5:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Missam
PostPosted: Tue Feb 17, 2004 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Missam
PostPosted: Tue Feb 17, 2004 8:31 pm    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

You can find some information on Multiple Instances in this link

http://www.mqseries.net/phpBB2/viewtopic.php?t=6129&highlight=instance
Back to top
View user's profile Send private message
maha20
PostPosted: Wed Feb 18, 2004 10:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Wed Feb 18, 2004 11:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Wed Feb 18, 2004 11:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Missam
PostPosted: Thu Feb 19, 2004 7:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Thu Feb 19, 2004 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Multiple instances
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.