Method and apparatus for determining the capacity of an application cluster

a technology of application cluster and capacity, applied in the field of computer technologies, can solve the problems of affecting the accuracy of the overall and other virtual manufacturing resources of the host machine where the current vm is located idle, etc., and achieve the effect of accurate average single-machine capability and accurate capacity of the application cluster

Pending Publication Date: 2022-04-28
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This approach provides a more accurate and reliable capacity calculation for application clusters by simulating real-world traffic conditions and dynamically adjusting resources, leading to improved accuracy and stability.

Problems solved by technology

Thus, the obtained values may be less reliable, further affecting the accuracy of the overall capacity of the application cluster.
For example, when a one-machine workload pressure test is performed for an application, other Virtual Manufacturing (VM) resources of a host machine where a current VM is located are idle.
As a result, the problem of overestimated capability of a machine may exist and large deviations in data may occur when the overall capacity of the applications is calculated using the expected capability.
In addition, the transaction traffic model for a large-scale promotion is very different from the transaction traffic model in a normal state, and this is also a factor affecting the accuracy of capacity estimation.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for determining the capacity of an application cluster
  • Method and apparatus for determining the capacity of an application cluster
  • Method and apparatus for determining the capacity of an application cluster

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0052]Calculation is done according to the maximum value of the workload pressure value. After the maximum value of the workload pressure value is obtained, the average single-machine capability of the testing machines can be obtained according to a ratio of the maximum value of the workload pressure value to the quantity of the testing machines included in the application cluster.

example 2

[0053]In this example, as shown in FIG. 3, a process of obtaining the average single-machine capability of the testing machines may include the following steps.

[0054]Step 301: Reduce the capacity of the application cluster when a load capability of the application cluster reaches a capacity reduction threshold of auto scaling.

[0055]In this embodiment, auto scaling is a mechanism that dynamically adjusts the scale of the application cluster according to the load of an online application cluster. The mechanism not only can reduce costs, but it also can improve the stability of the online application cluster. In one example, the auto scaling can be implemented using an elastic platform. Specifically, when the workload pressure value reaches the maximum value of a workload pressure value that triggers the rate limit threshold of the application cluster, the elastic platform can be triggered to start. The elastic platform can then dynamically adjust the capacity of the application cluste...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Provided in the disclosed embodiments are a method and an apparatus for obtaining a capacity of an application cluster. The method comprises: setting up a simulated application cluster to be tested, the simulated application cluster comprising at least two testing machines; performing an overall workload pressure testing on the test machines of the application cluster to obtain an average single-machine capability of the test machines; and calculating the application cluster capacity based on a total workload pressure of the application cluster and the average single-machine capability of the test machines. By setting up a simulated application cluster to be tested and performing an overall workload pressure test on multiple testing machines of the whole simulated application cluster, the disclosed embodiments can obtain a more accurate average single-machine capability of the machines that is closer to reality, thereby obtaining a more accurate capacity of the application cluster.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS[0001]The application claims priority to Chinese Patent Application No. 201510784781.2, filed on Nov. 16, 2015 and entitled “METHOD AND APPARATUS FOR OBTAINING CAPACITY OF APPLICATION CLUSTER,” and PCT Appl. No. PCT / CN16 / 104837, filed on Nov. 7, 2016, and entitled “METHOD AND DEVICE FOR OBTAINING CAPACITY OF APPLICATION CLUSTER,” both of which are incorporated herein by reference in their entirety.BACKGROUNDTechnical Field[0002]The disclosed embodiments relate to the field of computer technologies, and in particular, to methods and apparatuses for obtaining a capacity of an application cluster.Description of the Related Art[0003]When determining a capacity percentage for each application in an application cluster, it is first required to calculate the capacity of the application cluster itself. The “capacity” refers to the number of instances (or the number of machines) required by the application cluster. Currently, the capacity of an applicat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(United States)
IPC IPC(8): G06F9/455G06F9/50G06F11/34
CPCG06F9/455G06F9/5061G06F2209/503G06F11/3457G06F9/5077G06F2201/81G06F11/3442G06F11/3006
InventorLIU, YUEJIA
OwnerALIBABA GRP HLDG LTD