Contents

Download in PDF
  1. Abstract
  2. Introduction
  3. Background
  4. Deploying and Running MoodleAzure
  5. Packaging, Configuring and Deploying the Solution
  6. Implementation Details: What Changed
  7. Horizontally Scaling the Application
  8. Conclusion

Horizontally Scaling the Application

If you are not too experienced with Azure, you might be asking yourself at this point: How do I make this application scale horizontally? Is the amount of effort required to migrate an application to the cloud, worth it? The answer is simple. Expand the Unosquare.MoodleAzure project in your solution. Open the ServiceConfiguration.cscfg file. In the fourth line, you should see an node that called “Instances”. Let’s say you want to handle twice the amount of users you were handling before. Simply change the “count” attribute to 4. The best part is that you do not have to redeploy the solution. You can go into the Windows Azure portal, select your deployment, and click on “configure”. This will open up the service configuration file and change it directly in the deployed solution. Just remember that for Azure’s SLA to take effect you will need to set the instance count to at least 2.

Last edited Oct 28, 2010 at 4:43 PM by unosquare, version 1

Comments

No comments yet.