|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Modeling Question - Peformance savvy design |
« View previous topic :: View next topic » |
Author |
Message
|
koko |
Posted: Tue Jul 19, 2005 4:57 pm Post subject: Modeling Question - Peformance savvy design |
|
|
 Master
Joined: 26 Sep 2003 Posts: 206
|
I have three processes say ProcA, ProcB and ProcC.
ProcA -> ProcB ->ProcC
Each of them have similar logic that the first step in each of them is a upes and there are three outcomes from the upes step. These upes steps for ProcA, ProcB and ProcC have exactly same data structures.
E.g In ProcA
UPESA -- Success ( Move forward with flow)
-- Repeat ( This part from UPES )
-- Retry ( The whole flow starting from beginning )
To satisfy the Retry case, I can model my main flow in two different ways.
First way
The whole Main Process with ProcA, ProcB and ProcC in a Block.
ProcA, ProcB in Block
ProcA in a Block
In this case, in Happy path I would incur
Invocation costs of
Main process - 3.8 BWU
Block with all three processes 0.8 BWU
Block with ProcA, ProcB in it 0.8 BWU
Block with just ProcA 0.8 BWU
ProcA - 3.8 BWU
ProcB - 3.8 BWU
ProcC - 3.8 BWU
Second way,
I can model only one process called ProcABC and define a block within it.
I can have the following in the block..
Quote: |
UpesA---- ---Success
\ /
UpesB------ ---- Repeat
/ \
UPESC---- ---Retry
|
Before I invoke the block I can pass in the name of the Upes I want to invoke. so here I invoke the same block first for UPESA then for UPESB and finally for UPESC.
In this second way in a happy path scenario, I would incur
One Main Process - 3.8 BWU
three blocks ( same block getting invoked with UPESA, UPESB and UPESC in each of its iterations) - 3 * 0.8
To me the second way seems to be a good way to design this. I just am not very sure if this is the right thing to do.
Any suggestions would be appreciated. _________________ Thanks
Koko |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|