In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2024-12-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Cdn.nlark.com/yuque/0/2020/png/741540/1581390057328-2944885b-2052-4e45-966fmurce4c37a7f1df.pngripxMurosslyprocesprocesimagestop resizerecovery300 ">
The scaling of application services (App Service) is actually the scaling of application service plans (App Service Plan). Simply understood is the scaling of back-end servers, which can be divided into two types: vertical and horizontal.
Vertical expansion
Refers to the scaling of the "server" specification, such as zooming in from 1 core 2G to 4 core 8G
Directly in the scale-up, select a server with higher computing and memory, and click apply.
Horizontal expansion
It means that if one server is not enough, add one more. Is a change in the number of background servers.
There are two kinds of scale-out, manual scaling and custom zooming
Manually scale (scale the number of instances)
Custom scaling (for example, dynamic according to CPU/ memory utilization)
You usually need to create two rules:
1. It is a rule to increase the number of instances. For example, the average CPU utilization for 10 consecutive minutes is more than 70%, and the number of instances is + 1.
two。 Is a rule to reduce the number of instances. For example, the average CPU utilization for 10 consecutive minutes is less than 30%, and the number of instances is-1.
To set the maximum and minimum limit value of the instance, where the maximum value is limited by the specification of the application service plan.
In addition to the default zoom conditions, you can also create time-based scaling rules, such as automatically expanding the finger by 5 from 8:00 to 20:00 from Monday to Friday:
When you have more than one zoom condition, carefully understand the following example:
There are two scaling conditions in the following figure. The default is to adjust the number of samples according to CPU utilization, and the second condition is to set a fixed number of samples based on time. Adjusting the number of instances based on CPU utilization is performed only if the second does not match.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.