Odeslat dotazOdeslat dotaz
 

OdpovědětDublin Server Clustering

  • 19. listopadu 2008 1:01Greg.A Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    Hi

    What will be the approach to load balanced clustering of servers under Dublin? Will workflow execution occur on multiple servers? I expect a workflow instance domain is limited to a single server but will new instances of the same workflow type (pattern) instantiate on other servers to scale?

    Thanks

    Greg

Odpovědi

  • 19. listopadu 2008 4:56George KremenlievMSFTUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět
    Greg,

    You are right that the a workflow instance will execute on a single server and that new instance will instantiate on other servers in the farm.

    Dublin will allow you to use any load-balancing mechanism and Dublin will start the new instances. If there are messages for an already created instance the persistence provider in Dublin will make sure that the correct instance is loaded from the DB.

    Hope this helps,
    George

Všechny reakce

  • 19. listopadu 2008 4:56George KremenlievMSFTUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět
    Greg,

    You are right that the a workflow instance will execute on a single server and that new instance will instantiate on other servers in the farm.

    Dublin will allow you to use any load-balancing mechanism and Dublin will start the new instances. If there are messages for an already created instance the persistence provider in Dublin will make sure that the correct instance is loaded from the DB.

    Hope this helps,
    George
  • 18. února 2009 16:02Michael Stephenson UKMVPUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    Hi Following on from Gregs question just wondering what will happen in a scenario where the workflow has started and is in process.  It has been persisted but then the server it was executing on becomes unavailable for a period of time.

    If the execution is limited to a single server does this mean the instance can not continue until the server becomes available again?
  • 2. dubna 2009 17:38Stuart Langley [MSFT]MSFTUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    Execution is not limited to a single server in the typical scenario - usually workflows are not affinitized to any perticular server or host.

    In the scenario you describe above, if the WF has been persisted and another message arrives for it, then the WF will be re-loaded to the server that the message arrived at.

    If the WF was running and the server crashes for some reason, then the instance restart service will be able to bring the instance back up on another machine in the farm.