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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Modeling Question - Peformance savvy design

Post new topic  Reply to topic
 Modeling Question - Peformance savvy design « View previous topic :: View next topic » 
Author Message
koko
PostPosted: Tue Jul 19, 2005 4:57 pm    Post subject: Modeling Question - Peformance savvy design Reply with quote

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
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Modeling Question - Peformance savvy design
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.