官术网_书友最值得收藏!

Autoscaling

Scaling resources is a significant part of making an application highly available and having good performance. There are two types of scaling:

  • Vertical Scaling (scale up and scale out): We can increase or decrease the size of the instance by choosing different pricing tiers. We can do it manually:
  • Horizontal Scaling (scale in and scale Out): We can increase or decrease the number of instances that are used to host web applications.

Horizontal scaling is the most commonly used as we can schedule it also. It is important to understand what will impact on the performance and availability of an application and accordingly we can decide the scaling part:

  • Gather the data the load application faces in the existing condition; find the peak load data and date
  • Note the existing capacity of Azure Web Apps and database that are used for the web application
  • Make sure the architecture of the application supports stateless
  • Use any load testing tool and find out how many concurrent requests it can manage before crashing
  • Increase the database capacity to manage concurrent requests
  • Schedule autoscaling for Azure App Service instances based on different conditions
  • Understand the usability of an application from the number of regions

There are three types of scaling out supported in Azure Web Apps:

  • Scale instances manually
  • Scale instances by the CPU percentage
  • Scale instances by schedule and the performance rule
主站蜘蛛池模板: 克什克腾旗| 前郭尔| 平乡县| 曲麻莱县| 沙坪坝区| 报价| 金寨县| 定日县| 阿克| 同仁县| 凌云县| 册亨县| 阿坝| 广宁县| 碌曲县| 怀来县| 陆丰市| 涪陵区| 米易县| 台中县| 通化市| 怀远县| 沭阳县| 长泰县| 海盐县| 眉山市| 荥经县| 伊宁县| 江达县| 淄博市| 康保县| 宜良县| 湖南省| 华安县| 乐安县| 迁安市| 化州市| 吴江市| 广西| 沂水县| 城固县|