none
Windows Workflow 4.0 base rule engine

    Question

  • Hi, 
    I am  trying to build the rule editor/engine based on Windows Workflow 4.0. Editor facilitates the business user to configure the rules which is stored in database as different attributes(not storing .rule file).  Rule engine read all these attributes from database and execute it . 

    I am interested to know the best practices in running a workflow from windows service or hosting processes. My requirements is we may end up creating "n" number of  workflow at given point of time.

    I am thinking from load balancing point of view.

    1. What is the support given in Windows Workflow 4.0 for performance and load balancing?
    2. What is recomended practice to host the workflow out of AppFabric, Window Service etc?
    3. How do I measure that my hosting process will be able to handle how many number of workflow instances at any given point of time?

    Thanks
    Jhon


    Thursday, March 18, 2010 1:42 PM

All replies

  • Hi Jhon -

    You might want to try your question over in the WF4 forum: http://social.msdn.microsoft.com/Forums/en-US/wfprerelease/threads/

    Sunday, April 04, 2010 3:38 AM
  • If you can host your workflow as a service(wcf) using wg 4.0 then you can use appFabric to scale out. Using this approach you need to use WF 4.0 approach to implement a service and you may end up creating "n" no of services. For large no. of workflow (not talking to instances of workflow) you should not consider this.

    In other case you need Persistance Services to have multiple workflow engine servers. Again you can use web services/WCF Services to build an interface to communicate with the runtime. This service interface can be generic to communicate with all the workflows and its instances

     

    Tuesday, April 06, 2010 7:33 PM
  • Suppose i create a workflow application in .net4.0. Now to host it in appfabric, do i need to create WCF interface on top of workflows to interact with outside world. Do we have some sample to explain this.

    Also i would like to confirm with you. I have one workflow with many(5000) workflow instances running. For this, do i need to create persistance services for multiple workflows engine running on all servers or will it be taken care by appfabric iteself.

    Will Appfabric suit to my needs which are scalability,performance and availability

     

    Wednesday, April 07, 2010 5:35 PM
  • YES APPFABRIC WILL HELP YOU MAKE SERVICES USING WCF . WHICH FINLALY SATISFY ALL YOUR NEEDS.

    -Rgds

    • Proposed as answer by TicArch Wednesday, April 28, 2010 1:04 PM
    Wednesday, April 28, 2010 12:43 PM
  • If you can host your workflow as a service(wcf) using wg 4.0 then you can use appFabric to scale out. Using this approach you need to use WF 4.0 approach to implement a service and you may end up creating "n" no of services. For large no. of workflow (not talking to instances of workflow) you should not consider this.

    In other case you need Persistance Services to have multiple workflow engine servers. Again you can use web services/WCF Services to build an interface to communicate with the runtime. This service interface can be generic to communicate with all the workflows and its instances

     


    This is reasonable enough. I'll have a deep research on it. Very appreciated for your sharing.
    Friday, July 02, 2010 5:15 PM