Author |
Message
|
jmac |
Posted: Fri Feb 28, 2003 11:56 am Post subject: Container Reuse |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I need to understand the rules for Container Reuse.
My current understanding is as follows:
Container can only be reused when there is only a single mapping to the activity AND the target input container and source output container MUST use the same DataStructure.
Can you tell me the following:
1. Will the use of a DataLoop connector break this rule (I assume yes).
2. Will the use of a DataDefault connector break this rule (I assume no).
Can you point me to any documentation on container reuse?
Thanks _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Fri Feb 28, 2003 2:00 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
What do you mean by a container resuse? can you give an example?
-Laze |
|
Back to top |
|
 |
jmac |
Posted: Fri Feb 28, 2003 2:19 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Laze:
For reasons of Performance MQWF can "reuse" containers (output containrer from activity1 could be input container to Activity 2) under some circumstances. My post documents what I believe those circumstances are. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Fri Feb 28, 2003 4:10 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
John, Where is this documented (container reuse)? Is there a setting which I need to do so WF can reuse containers or it determines, whenever possible? Aren't predefined members (_ProcessInfo, _ActivityInfo) a part of the same container?
-Laze |
|
Back to top |
|
 |
jmac |
Posted: Fri Feb 28, 2003 5:02 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Laze:
I know about this from one of the T3 presentations from V330. It was mentioned because it was a performance improvement.
What I am looking for is doc on the topic...
There is no doubt that this is a fact, I just cant locate doc.
I have posted a similar query to the IBM newsgroup, and hopefully one of the developers will answer. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
jmac |
Posted: Thu Mar 06, 2003 7:26 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I have received an answer via the IBM Newsgroup that I attache here:
My original post
- - -
I need to understand the rules for Container Reuse.
My current understanding is as follows:
Container can only be reused when there is only a single mapping to the
activity AND the target input container and source output container MUST use
the same DataStructure.
Can you tell me the following:
1. Will the use of a DataLoop connector break this rule (I assume yes).
2. Will the use of a DataDefault connector break this rule (I assume no).
Can you point me to any documentation on container reuse?
Thanks
John McDonald                        SYSCOM Inc.
- - -
Response from the Lab
John,
from our internal design documents how container reuse is implemented. I'm afraid there is no official documentation as
it is an internal performance improvement.
1. Activity A and B belong to the same block. (This is because of the addressing schema of containers which is a pair, consisting of the ID of the enclosing block instance and a relative number within that block.)
2. A struct to struct mapping is defined from the output container of activity A to the input container of activity B.
3. No default values are specified for the input container of activity B.
4. No loop data connector is specified for activity B.
5. No other data connectors with activity B as target are defined.
- - -
I am going for a clarification of number 4 above as this conflicts with something I was told.
I will update when I have complete information _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Mon Apr 21, 2003 3:13 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
John,
go through the section "calculating the bonus for activities with container reuse" in wp01 (mqseries workflow- performance estimates for solution and capacity planning).
It mentions there that a data loop connector doesnot prevent a container reuse.
-Ratan. |
|
Back to top |
|
 |
jmac |
Posted: Mon Apr 21, 2003 3:51 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Ratan wrote: |
John,
go through the section "calculating the bonus for activities with container reuse" in wp01 (mqseries workflow- performance estimates for solution and capacity planning).
It mentions there that a data loop connector doesnot prevent a container reuse.
-Ratan. |
You are 100% correct regarding that statement in the document you site.... HOWEVER, that statement is 100% WRONG. A Data loop connector DOES affect container reuse. It was this statement that got me asking my question in the first place, because it made NO sense to me.
IBM should be updating their doc. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|