Author |
Message
|
sandy vish |
Posted: Wed Feb 06, 2013 12:27 am Post subject: Multiple instance for a message flow |
|
|
Apprentice
Joined: 18 Nov 2012 Posts: 27
|
Hi All,
what are the maxiumum number of instances can we set for a message flow?
What is the ideal number of instances which we can set in live condition?
if there are 50 instances for a flow does it have any adverse affect?
Is there a command to know how many instances are set for a particular flow? without opening the flow?
Valid inputs plz |
|
Back to top |
|
 |
visasimbu |
Posted: Wed Feb 06, 2013 2:16 am Post subject: |
|
|
 Disciple
Joined: 06 Nov 2009 Posts: 171
|
check here
Last edited by visasimbu on Wed Feb 06, 2013 3:12 am; edited 1 time in total |
|
Back to top |
|
 |
sandy vish |
Posted: Wed Feb 06, 2013 2:46 am Post subject: |
|
|
Apprentice
Joined: 18 Nov 2012 Posts: 27
|
Thank u for the quick turn around............
256 threads that answers the first question....
Please do not use clause "Depends" for the rest of the questions
Take a scenario and please enlighten us... |
|
Back to top |
|
 |
visasimbu |
Posted: Wed Feb 06, 2013 3:18 am Post subject: |
|
|
 Disciple
Joined: 06 Nov 2009 Posts: 171
|
|
Back to top |
|
 |
zpat |
Posted: Wed Feb 06, 2013 3:21 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Use one instance unless you know this to be insufficient.
Bear in mind the sequencing aspect of parallel processing, and the risk of database deadlocking.
Ideally flows should be designed so they can run in parallel, how it should not be assumed.
But it will depend on peak load, required throughput, elapsed time constraints etc. Sometimes a peak time backlog is not a problem and no need to have extra flow instances taking up memory etc.
One of the reasons people look at parallel processing is if the flow calls another service and waits for it to respond in line. This is actually not always a good way to code the logic. Waiting in flows should be avoided where possible. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 06, 2013 4:07 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
sandy vish wrote: |
256 threads that answers the first question.... |
Not necessarily.
sandy vish wrote: |
Please do not use clause "Depends" for the rest of the questions
Take a scenario and please enlighten us... |
Why? |
|
Back to top |
|
 |
sandy vish |
Posted: Wed Feb 06, 2013 8:50 am Post subject: |
|
|
Apprentice
Joined: 18 Nov 2012 Posts: 27
|
|
Back to top |
|
 |
|