Azure ScaleIn / ScaleOut for Load balancing.

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  

To make the website load balance we can the set the “Scale Up” or “Scale Out” settings for application.
Scale Up   : to add the machine when higher CPU consumption i.e internet traffic load is higher
Scale Out : to remove the machine when CPU consumption is very low. It will reduce the wastage of unused infrastructure and save our some money.

To Scale-up:

Azure Scale In

  1. open the “Scale Up” setting.
  2. Set the CPU consumption mark on which you want to add the machine in infrastructure to balance the load.
  3. Also set the time duration for the CPU consumption. If the CPU consumption is consistently high for the given time duration than azure will add the new machine to the application. It will avoid the frequent addition of number of machine when there is high CPU consumption.
  4. Set the max. count of machine which you want to add on high load. It depends upon your azure membership.

Let take the scenario to understand this. Suppose you have a application hosted on server. During the normal internet traffic one machine is sufficient for it. But around 11:00 am to 12:00 pm requests coming to application is bit high which consume the CPU to almost up-to 80% or more. It risk the application and might be there are chances of server crash due to heavy internet traffic. To avoid this we set the Scale up setting for the application and make the setting than if the CPU consumption is higher than 70% for next 20 minutes than add one more machine to the application pool. It will balance our load.

Similar way the Scale Out work. It will remove the the machine from the pool when the internet traffic cool down to normal or lower than the set CPU consumption percentage.


Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.