Posted: Fri Oct 11, 2002 3:43 am Post subject: performance/tread/UOW question
Apprentice
Joined: 27 Jun 2002 Posts: 39 Location: New York
Hi,
Consider following flows:
1. Under same flow name:
Inputnode1->Compute1(logic1) ->Outputnode1
Inputnode2->Compute2(logic2) ->Outputnode2
2. Under same flow name: (Compute1 will have logic for both inbound msgs)
Inputnode1
------------ -->Compute1 -> Outputnode1(DestinationList)
Inputnode2
3. Two different flow names:
Inputnode1->Compute1(logic1)->Outputnode1
Inputnode1->Compute1(logic2)->Outputnode1
My questions are:
In example 1. is there 1 tread for both subflows even tho they are separated or 2 treads? What is UOW in such a case?
Example 2. would run under 1 tread and UOW, correct?
Is Example 3. performancewise and safetywise the best? Are there any advantages to examples 1.& 2. comparing to 3.?
Each input node has at least one thread, so all three flows would operate in the same way regarding scalability, UOWs etc. The only thing worth considering is how easy it is to maintain and correct your flows. If you want to stop flow A and keep flow B running, you'd struggle using 1 and 2. If you have common logic in logic1 and logic2, it might be easier to keep them in just one Compute node a la 2.
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