locked
What are the things can impact when we increase webrole/worker role instances RRS feed

  • Question

  • Hi,

    I am just want to know like what are the areas get affected when we increase webrole/worker role instance from 1 to >1

    like session management ans what else ?

    Please let me know the other areas .

     

    Thanks in advance


    cpsingh
    • Moved by Brian AurichMicrosoft employee Monday, May 2, 2011 5:56 PM Service management question. (From:Windows Azure Platform Purchasing, Pricing & Billing)
    Saturday, April 30, 2011 6:28 PM

Answers

  • Hi there

    most important thing that change is that your instances get stateless, because they are behind a load balancer that randomly distributes the incoming calls to your instances. This means that stateinformation needs to be saved in a place (Azure Cache, Azure SQL, Azure Table or Blob) where all instances can access. And this is unfortunately not the local filesystem. Many on premises application use the file system more or less heavily.

    Taking care of this new state mechanism may be easy - as with asp.net state where you have existing providers for tables, sql azure or caching. But it may be more complex if you want to migrate an on premises application to the cloud.

    Hope this helps,

    Marc

     

    • Marked as answer by Wenchao Zeng Monday, May 9, 2011 3:48 AM
    Saturday, April 30, 2011 9:13 PM

All replies

  • Hi there

    most important thing that change is that your instances get stateless, because they are behind a load balancer that randomly distributes the incoming calls to your instances. This means that stateinformation needs to be saved in a place (Azure Cache, Azure SQL, Azure Table or Blob) where all instances can access. And this is unfortunately not the local filesystem. Many on premises application use the file system more or less heavily.

    Taking care of this new state mechanism may be easy - as with asp.net state where you have existing providers for tables, sql azure or caching. But it may be more complex if you want to migrate an on premises application to the cloud.

    Hope this helps,

    Marc

     

    • Marked as answer by Wenchao Zeng Monday, May 9, 2011 3:48 AM
    Saturday, April 30, 2011 9:13 PM
  • Hello cpsingh,

    Also you can have a look here http://msdn.microsoft.com/en-us/magazine/ff872379.aspx and here http://matclickonce.blob.core.windows.net/app/publish.htm.

    Regards,
    Alfredo

    Sunday, May 1, 2011 6:42 AM