Manu Cohen-Yashar's Blog

19 באוגוסט 2007

WF dynamic changes are a performance disaster
I wanted to build a workflow which has 3 parallel branches that executes continuously
Each branch holds a list of activities.
What is interesting about this workflow is the fact that activities can move from one branch to another.
I found out that whenever an activity moves CPU increases drastically.
I used the following code and found out interesting phenomenon:
1. Even if there is no change in the workflow (no activities are added nor removed) there is a huge spike in CPU !!!
2. This is the interesting part: If you continue to perform changes (let us say...