CN116743565A - Performance capacity resource allocation method and device - Google Patents

Performance capacity resource allocation method and device Download PDF

Info

Publication number
CN116743565A
CN116743565A CN202310802929.5A CN202310802929A CN116743565A CN 116743565 A CN116743565 A CN 116743565A CN 202310802929 A CN202310802929 A CN 202310802929A CN 116743565 A CN116743565 A CN 116743565A
Authority
CN
China
Prior art keywords
performance capacity
resource allocation
configuration
test
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310802929.5A
Other languages
Chinese (zh)
Inventor
李秀婧
朱仲毅
易蕾
朱怡雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310802929.5A priority Critical patent/CN116743565A/en
Publication of CN116743565A publication Critical patent/CN116743565A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for configuring performance capacity resources, which can be used in the field of cloud computing, wherein the method comprises the following steps: collecting link configuration information of different service scenes and performance capacity resource configuration information of each application node; determining performance capacity resource allocation specifications based on the service full link under different test types; based on link configuration information of different service scenes, performance capacity resource configuration information of each application node and performance capacity resource configuration specifications of all links based on service under different test types, all-link performance capacity resource configuration strategies of each service scene under different test types are generated.

Description

Performance capacity resource allocation method and device
Technical Field
The invention relates to the technical field of cloud computing, in particular to a method and a device for configuring performance capacity resources.
Background
At present, a core application system of a bank moves down to a distributed open platform comprehensively, so that the complexity of a business transaction link is greatly increased, and the performance capacity configuration of each application lacks unified standards and tool supports, so that the following problems exist in the aspect of testing the performance capacity resource configuration of an environment:
firstly, the non-uniform resource allocation rule applied at the upstream and downstream causes the performance capacity bottleneck evaluation deviation. A complex business scenario transaction link may involve tens of critical core applications, but the testing of each application is not the same as the production environment container and the resource proportioning ratio. For example, a certain payment service scenario involves that a transaction link is an application a, an application B, an application C and an application D, if a resource of the application a is configured as 1/2 of a production environment, a resource of the application B is configured as 1/4 of the production environment, a resource of the application C is configured as 1/8 of the production environment, and a resource of the application D is configured as 1/2 of the production environment, based on this environment, a full link performance capacity test is performed, which may cause that performance capacity bottleneck occurs first when the application is tested due to the lowest test environment capacity of the application C compared with the production environment, but a real performance bottleneck point of the production environment may not be on the application C. Therefore, the non-uniform resource allocation rules applied at the upstream and downstream can seriously affect the overall performance support capability assessment accuracy of the whole link, so that the deviation of performance capacity bottleneck assessment results occurs.
And secondly, between service function test and performance capacity test, resource allocation is frequently switched, and the complexity is high. The performance capacity test often needs to simulate the concurrency of production users to carry out high concurrency pressure test, so the requirement on resource configuration is higher, a plurality of application container copies need to be started according to the proportioning requirement before the performance test is implemented, and the CPU and memory configuration of a single container need to be adjusted to be consistent with the production configuration; business function testing is typically performed manually by a business tester or serially using automated scripts, with little concurrency of transactions, and therefore, low demands on resource capacity. Because the application resources of the performance capacity test and the service function test are limited by the test environment machine room and hardware resources, the application resources need to be configured and managed differently, the resource capacity expansion and the resource recovery are required to be carried out on all the applications on the whole link of the test scene before and after the performance test is finished, and the resource adjustment and switching actions are frequent and have high complexity.
Thirdly, a full link performance capacity resource allocation switching method lacking service level is provided. At present, a distributed cloud platform performs resource configuration management based on application container template granularity, one service scene link can involve calling a plurality of applications, some complex service scenes can even involve tens of application calls, a current operation method needs to perform resource configuration adjustment on related applications on the link one by one, and based on the resource configuration switching method, capacity resource preparation time of a single service scene is about 1 hour on average. Due to the lack of full link performance capacity resource allocation, inspection and flexible adjustment support of a service level, the current resource allocation has low flexibility and long time consumption, link application omission easily occurs for adjustment of complex link scenes, and tool inspection and checking means are lacked.
Disclosure of Invention
The embodiment of the invention provides a performance capacity resource allocation method for improving the performance capacity resource allocation efficiency, which comprises the following steps:
collecting link configuration information of different service scenes and performance capacity resource configuration information of each application node;
determining performance capacity resource allocation specifications based on the service full link under different test types;
and generating all-link performance capacity resource allocation strategies of all service scenes under different test types based on the link allocation information of the different service scenes, the performance capacity resource allocation information of all application nodes and the performance capacity resource allocation specifications of all service links under different test types.
The embodiment of the invention also provides a device for configuring the performance capacity resources, which is used for improving the efficiency of configuring the performance capacity resources, and comprises the following steps:
the configuration information collection unit is used for collecting link configuration information of different service scenes and performance capacity resource configuration information of each application node;
a performance capacity resource allocation specification unit, configured to determine performance capacity resource allocation specifications based on the service full link under different test types;
the performance capacity resource allocation policy management unit is used for generating the performance capacity resource allocation policy of all links of all business scenes under different test types based on the link allocation information of all business scenes, the performance capacity resource allocation information of all application nodes and the performance capacity resource allocation specification of all links of the business under different test types.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method for configuring the performance capacity resources when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the performance capacity resource allocation method when being executed by a processor.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program realizes the performance capacity resource allocation method when being executed by a processor.
In the embodiment of the invention, link configuration information of different service scenes and performance capacity resource configuration information of each application node are collected; determining performance capacity resource allocation specifications based on the service full link under different test types; based on the link configuration information of different service scenes, the performance capacity resource configuration information of each application node and the performance capacity resource configuration specification of the service full link under different test types, the performance capacity resource configuration strategy of each service scene full link under different test types is generated. The deviation of performance test evaluation results caused by the omission of the environment configuration of the application link is avoided, and the performance capacity test efficiency and test quality under the distributed architecture are improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
FIG. 1 is a schematic flow chart of a method for configuring performance capacity resources according to the present invention;
fig. 2 is a schematic diagram of service scenario link configuration information provided by the present invention;
fig. 3 is a schematic diagram of a service scenario a full link performance capacity resource allocation policy provided by the present invention;
FIG. 4 is a schematic flow chart of a method for configuring performance capacity resources according to the present invention;
fig. 5 is a schematic structural diagram of a performance capacity resource allocation device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present invention and their descriptions herein are for the purpose of explaining the present invention, but are not to be construed as limiting the invention.
Fig. 1 is a schematic flow diagram corresponding to a performance capacity resource allocation method according to an embodiment of the present invention, where, as shown in fig. 1, the method includes:
step 101, collecting link configuration information of different service scenes and performance capacity resource configuration information of each application node.
In the embodiment of the present invention, link configuration information of different service scenarios is collected, as shown in fig. 2, and taking three service scenarios as examples, the service scenario a, the service scenario B, and the service scenario C are respectively taken.
The service scenario a involves the application link: application A1 node a, application A1 node B, application A2 node a, application A3 node a;
the service scenario B involves the application link: application B1 node a, application B2 node a, application B3 node B;
the service scenario C involves the application link: application C1 node A, application C2 node A, application C3 node A, application C4 node A.
And collecting and storing the link configuration type information of each business scene in a configuration information base.
In the embodiment of the invention, the performance capacity resource allocation information of each application node is collected, wherein the performance capacity resource allocation information comprises key performance capacity indexes such as the number of application container copies, the number of CPU (Central processing Unit), the memory capacity, the storage capacity and the like. As shown in fig. 2, performance and capacity resource allocation information of the application A1 node a, the application B1 node a and the application C1 node a are shown, and resource allocation of each application node includes key resource allocation conditions such as the number of application container copies, the number of CPUs, the memory allocation size and the like of the current production environment.
And storing the application resource configuration type information in a configuration information base.
Step 102, determining performance capacity resource allocation specifications based on the service full link under different test types.
In one possible implementation, a container copy configuration specification, a CPU resource configuration specification, a memory resource configuration specification, and a storage resource configuration specification are determined for each application node.
Step 103, generating all-link performance capacity resource allocation strategies of all service scenes under different test types based on the link configuration information of all service scenes, the performance capacity resource allocation information of all application nodes and the performance capacity resource allocation specifications of all service links under different test types.
According to the scheme, the performance capacity resource allocation strategy of the service scene level is customized, so that the performance capacity resource of the service scene level is rapidly allocated and recovered, and the performance capacity resource allocation efficiency is improved. The deviation of performance test evaluation results caused by the omission of the environment configuration of the application link is avoided, and the performance capacity test efficiency and test quality under the distributed architecture are improved.
In the embodiment of the invention, the transaction concurrency of the function test is low, so that the use requirement on the system resource capacity is low, in addition, in order to facilitate log analysis and problem positioning, the copy number of the application container related to the whole link of the test environment is reserved to the minimum configuration, the configuration of the single container CPU and the memory resource is kept consistent with the production, and the storage capacity resource is configured as the capacity obtained by converting the transaction amount proportion of the test and the production day plus the basic storage capacity cost.
The specific resource allocation criteria for the functional test are as follows:
full-link container copy number configuration standard for each application node:
D T =Min(D P )
wherein D is T Representing the configuration of the number of copies of the application container of the test environment; min (D) P ) Representing a minimum number of copies configuration allowed within the application node;
single container CPU resource allocation criteria:
C T =C P
wherein C is T Representing the CPU number configuration of the test environment; c (C) P Representing CPU number configuration in the production environment;
single container memory resource allocation criteria:
M T =M P
wherein M is T Representing the configuration size of the test environment memory; m is M P Representing the memory allocation size of the production environment;
single container storage resource allocation criteria:
wherein H is T Representing the test environment storage capacity size; h P Representing a production environment storage capacity size; t (T) T Representing daily transaction amount of the test environment; t (T) P Representing daily transaction amount of production environment; h B Representing the test environment storage capacity base overhead.
In the embodiment of the invention, the pressure test requires simulating the concurrency of production users to perform high concurrency test, so that the requirement on resource allocation is higher, the resource proportion in a single slice is required to be consistent with production, and the number of the application container copies related to the full link of the test environment and the production environment proportion are required to be in equal ratio allocation.
The specific resource allocation criteria for the stress test are as follows:
full-link container copy number configuration standard for each application node:
D T =D P *i
wherein D is T Representing the configuration of the number of copies of the application container of the test environment; d (D) P Representing a production environment application container copy number configuration; i represents the proportionality coefficient of the configuration of the copy number of the test and production application containers;
single container CPU resource allocation criteria:
C T =C P
wherein C is T Representing the CPU number configuration of the test environment; c (C) P Representing CPU number configuration in the production environment;
single container memory resource allocation criteria:
M T =M P
wherein M is T Representing the configuration size of the test environment memory; m is M P Representing the memory allocation size of the production environment;
single container storage resource allocation criteria:
H T =H P
wherein H is T Representing the test environment storage capacity size; h P Representing the production environment storage capacity size.
The scheme provides performance capacity resource allocation specifications under different types of test scenes, including application node container copy allocation specifications, CPU resource allocation specifications, memory resource allocation specifications, storage resource allocation specifications and the like. And (3) based on the resource demand analysis of different types of test scenes, formulating the resource proportion specification of the production and test environments, and defining the proportion standard of the node number of the production environment and the test environment and the number of the container copies, thereby improving the performance capacity resource allocation efficiency. .
As shown in fig. 3, the policy is configured for the full link performance capacity resource of the service scenario a. Transaction all links of business scenario a involve four application nodes in total: application 1 node a, application 1 node B, application 2 node C, application 3 node D. The test of the service scenario a comprises two switching scenarios: a pressure test scenario and a functional test scenario. Taking an application 1 node A as an example, the resource policy configuration requirements in a pressure test scene are 2 container copy numbers, 2 CPUs and 4G memory resource configuration, the test environment container copy numbers of all application nodes on the whole link are 1/4 of the number of the production container copy numbers, and the CPU and memory resources of a single container are consistent with production, so that the condition that a certain application performance capacity bottleneck point deviation does not occur in the development process of the performance capacity test of the whole link is ensured; in the functional test scene, the container copy number configuration strategy is to minimize the reservation of 1 container copy number, and the CPU and memory resource configuration of a single container are consistent with production.
After generating all-link performance capacity resource allocation policies of each service scene under different test types, the embodiment of the invention has the steps shown in fig. 4, and the steps are as follows:
step 401, receiving an aggregate query instruction;
it should be noted that, the aggregate query instruction includes a service scene name.
And step 402, performing aggregation query on the performance capacity resource configuration information of the full-link application node according to the service scene name.
According to the scheme, all application nodes related to the full link are aggregated and inquired according to the scene name. The prior application node level query is improved to be the service scene level query, so that whether the current application configuration is correct and accords with the expectations can be checked rapidly and accurately when the number of nodes is large in the pressure measurement process, and the environment checking efficiency is improved greatly.
After generating the all-link performance capacity resource allocation policies of each service scene under different test types, the embodiment of the invention further comprises the following steps:
and configuring resource allocation strategies of different test types according to each service scene, and performing one-key switching among the different resource allocation strategies after receiving a switching instruction.
In one possible implementation, the test types include: functional testing, pressure testing and abnormal scene testing.
In the embodiment of the invention, the resource configuration strategies of different test types, such as a functional test strategy, a pressure test strategy, an abnormal scene test strategy and the like, are supported and configured for each service scene, and the key resource configuration standards of the number of container copies, the CPU, the memory and the like are set according to the capacity resource configuration specification for different test strategies, so that one-key resource configuration switching among different strategies is provided for the service scene.
In addition, the embodiment of the invention creates the test service scene according to the actual test scene and the environmental maintenance requirement, and visually provides management functions such as centralized inquiry, maintenance update and the like of the service scene.
According to the scheme, based on the access of the bottom distributed cloud platform, scene configuration, node configuration and strategy configuration functions are provided, and the visual aggregation query and scene strategy switching functions of the service level scene are provided. And realizing the one-key switching adjustment of the resource strategy among different test modes of the service link level.
The embodiment of the invention also provides a device for configuring the performance capacity resources, which is described in the following embodiment. The device is shown in fig. 5, and the device comprises:
a configuration information collection unit 501, configured to collect link configuration information of different service scenarios and performance capacity resource configuration information of each application node;
a performance capacity resource allocation specification unit 502, configured to determine performance capacity resource allocation specifications based on a service full link under different test types;
a performance capacity resource allocation policy management unit 503, configured to generate a performance capacity resource allocation policy of all links in each service scenario under different test types based on link allocation information of different service scenarios, performance capacity resource allocation information of each application node, and performance capacity resource allocation specifications of all links based on the service under different test types;
in the embodiment of the present invention, the performance capacity resource allocation specification unit 502 is specifically configured to:
determining a container copy configuration specification, a CPU resource configuration specification, a memory resource configuration specification and a storage resource configuration specification of each application node.
In the embodiment of the present invention, the performance capacity resource allocation specification unit 502 is specifically configured to:
the specific resource allocation criteria for the functional test are as follows:
full-link container copy number configuration standard for each application node:
the configuration of the copy number of the application container of the test environment is equal to the configuration of the minimum copy number allowed in the application node;
single container CPU resource allocation criteria:
the CPU number configuration of the test environment is equal to the CPU number configuration of the production environment;
single container memory resource allocation criteria:
the memory allocation size of the test environment is equal to the memory allocation size of the production environment;
single container storage resource allocation criteria:
the difference between the test environment storage capacity size and the test environment storage capacity base overhead is equal to the ratio of the production environment storage capacity size multiplied by the test environment daily transaction amount to the production environment daily transaction amount.
In the embodiment of the present invention, the performance capacity resource allocation specification unit 502 is specifically configured to:
the specific resource allocation criteria for the stress test are as follows:
full-link container copy number configuration standard for each application node:
the test environment application container copy number configuration is equal to the production environment application container copy number configuration multiplied by a scaling factor of the test and production application container copy number configuration;
single container CPU resource allocation criteria:
the CPU number configuration of the test environment is equal to the CPU number configuration of the production environment;
single container memory resource allocation criteria:
the memory allocation size of the test environment is equal to the memory allocation size of the production environment;
single container storage resource allocation criteria:
the test environment storage capacity size is equal to the production environment storage capacity size.
In the embodiment of the present invention, the performance capacity resource allocation policy management unit 503 is further configured to:
after generating all-link performance capacity resource allocation policies of each service scene under different test types, receiving an aggregation query instruction; the aggregation query instruction comprises a service scene name;
and carrying out aggregation query on the performance capacity resource configuration information of the full-link application node according to the service scene name.
In the embodiment of the present invention, the performance capacity resource allocation policy management unit 503 is further configured to:
after generating all-link performance capacity resource allocation policies of each service scene under different test types, configuring the resource allocation policies of different test types for each service scene, and performing one-key switching among the different resource allocation policies after receiving a switching instruction.
The performance capacity resource allocation policy management unit 503 is specifically configured to: the test types include: functional testing, pressure testing and abnormal scene testing.
Because the principle of the device for solving the problem is similar to that of the performance capacity resource allocation method, the implementation of the device can refer to the implementation of the performance capacity resource allocation method, and the repetition is omitted.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method for configuring the performance capacity resources when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the performance capacity resource allocation method when being executed by a processor.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program realizes the performance capacity resource allocation method when being executed by a processor.
In the embodiment of the invention, link configuration information of different service scenes and performance capacity resource configuration information of each application node are collected; determining performance capacity resource allocation specifications based on the service full link under different test types; based on the link configuration information of different service scenes, the performance capacity resource configuration information of each application node and the performance capacity resource configuration specification of the service full link under different test types, the performance capacity resource configuration strategy of each service scene full link under different test types is generated. The deviation of performance test evaluation results caused by the omission of the environment configuration of the application link is avoided, and the performance capacity test efficiency and test quality under the distributed architecture are improved.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A method for configuring performance capacity resources, comprising:
collecting link configuration information of different service scenes and performance capacity resource configuration information of each application node;
determining performance capacity resource allocation specifications based on the service full link under different test types;
and generating all-link performance capacity resource allocation strategies of all service scenes under different test types based on the link allocation information of the different service scenes, the performance capacity resource allocation information of all application nodes and the performance capacity resource allocation specifications of all service links under different test types.
2. The method for configuring performance capacity resources according to claim 1, wherein determining performance capacity resource configuration specifications based on a traffic full link under different test types comprises:
determining a container copy configuration specification, a CPU resource configuration specification, a memory resource configuration specification and a storage resource configuration specification of each application node.
3. The method for configuring performance capacity resources according to claim 2, wherein the specific resource configuration criteria for the functional test are as follows:
full-link container copy number configuration standard for each application node:
the configuration of the copy number of the application container of the test environment is equal to the configuration of the minimum copy number allowed in the application node;
single container CPU resource allocation criteria:
the CPU number configuration of the test environment is equal to the CPU number configuration of the production environment;
single container memory resource allocation criteria:
the memory allocation size of the test environment is equal to the memory allocation size of the production environment;
single container storage resource allocation criteria:
the difference between the test environment storage capacity size and the test environment storage capacity base overhead is equal to the ratio of the production environment storage capacity size multiplied by the test environment daily transaction amount to the production environment daily transaction amount.
4. The performance capacity resource allocation method according to claim 2, wherein the specific resource allocation criteria for the stress test are as follows:
full-link container copy number configuration standard for each application node:
the test environment application container copy number configuration is equal to the production environment application container copy number configuration multiplied by a scaling factor of the test and production application container copy number configuration;
single container CPU resource allocation criteria:
the CPU number configuration of the test environment is equal to the CPU number configuration of the production environment;
single container memory resource allocation criteria:
the memory allocation size of the test environment is equal to the memory allocation size of the production environment;
single container storage resource allocation criteria:
the test environment storage capacity size is equal to the production environment storage capacity size.
5. The method for configuring performance capacity resources according to claim 1, further comprising, after generating the full link performance capacity resource configuration policies for each traffic scenario under different test types:
receiving an aggregation query instruction; the aggregation query instruction comprises a service scene name;
and carrying out aggregation query on the performance capacity resource configuration information of the full-link application node according to the service scene name.
6. The method for configuring performance capacity resources according to claim 1, further comprising, after generating the full link performance capacity resource configuration policies for each traffic scenario under different test types:
and configuring resource allocation strategies of different test types according to each service scene, and performing one-key switching among the different resource allocation strategies after receiving a switching instruction.
7. The performance capacity resource allocation method according to claim 6, wherein the test type includes: functional testing, pressure testing and abnormal scene testing.
8. A performance capacity resource allocation apparatus, comprising:
the configuration information collection unit is used for collecting link configuration information of different service scenes and performance capacity resource configuration information of each application node;
a performance capacity resource allocation specification unit, configured to determine performance capacity resource allocation specifications based on the service full link under different test types;
the performance capacity resource allocation policy management unit is used for generating the performance capacity resource allocation policy of all links of all business scenes under different test types based on the link allocation information of all business scenes, the performance capacity resource allocation information of all application nodes and the performance capacity resource allocation specification of all links of the business under different test types.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 1 to 7.
CN202310802929.5A 2023-06-30 2023-06-30 Performance capacity resource allocation method and device Pending CN116743565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310802929.5A CN116743565A (en) 2023-06-30 2023-06-30 Performance capacity resource allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310802929.5A CN116743565A (en) 2023-06-30 2023-06-30 Performance capacity resource allocation method and device

Publications (1)

Publication Number Publication Date
CN116743565A true CN116743565A (en) 2023-09-12

Family

ID=87913304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310802929.5A Pending CN116743565A (en) 2023-06-30 2023-06-30 Performance capacity resource allocation method and device

Country Status (1)

Country Link
CN (1) CN116743565A (en)

Similar Documents

Publication Publication Date Title
CN106294120B (en) Method, apparatus and computer program product for testing code
CN110502426A (en) The test method and device of distributed data processing system
CN110457175B (en) Service data processing method and device, electronic equipment and medium
CN104252481A (en) Dynamic check method and device for consistency of main and salve databases
CN106803799B (en) Performance test method and device
CN111309637B (en) Software testing and analyzing method based on bank micro-service
US20170060578A1 (en) System and method for evaluating human resources in a software development environment
CN108491254A (en) A kind of dispatching method and device of data warehouse
CN113537797A (en) Method and device for intelligent test workload assessment based on historical data analysis, terminal equipment and storage medium
CN113296905B (en) Scheduling method, scheduling device, electronic equipment, storage medium and software product
CN105868956A (en) Data processing method and device
CN110262975A (en) Test data management method, device, equipment and computer readable storage medium
CN114896166A (en) Scene library construction method and device, electronic equipment and storage medium
CN110377519B (en) Performance capacity test method, device and equipment of big data system and storage medium
CN114185770A (en) Method and device for generating test data, computer equipment and storage medium
CN111966597B (en) Test data generation method and device
CN117519951A (en) Real-time data processing method and system based on message center
CN111090401B (en) Storage device performance prediction method and device
CN114077492A (en) Prediction model training and prediction method and system for cloud computing infrastructure resources
RU2532714C2 (en) Method of acquiring data when evaluating network resources and apparatus therefor
CN116743565A (en) Performance capacity resource allocation method and device
CN113259878B (en) Call bill settlement method, system, electronic device and computer readable storage medium
CN115220131A (en) Meteorological data quality inspection method and system
CN108073503A (en) A kind of evaluating method and device of component maturity
CN112286792A (en) Interface testing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination