System performance dynamic regulation and control method and device, computer equipment and storage medium

By obtaining system load indicators and current limiting thresholds, dynamically regulating system performance solves the problem in the existing technology that the system is difficult to operate stably and utilize resources under high request volume, and achieves adaptive adjustment and maximum computing processing capabilities of the system.

CN118819837APending Publication Date: 2024-10-22WEICHAI POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410860284.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

It is difficult with the existing technology to ensure stable operation while making full use of system resources and providing maximum computing processing power when the system faces a high volume of requests.

Method used

By obtaining multiple load indicators of the system, the current limiting threshold corresponding to each load indicator is determined. Based on these current limiting thresholds, the target current limiting threshold of the system is determined, and the system performance indicators are dynamically adjusted to achieve adaptive adjustment of the system.

Benefits of technology

It achieves stable operation of the system and full utilization of resources, ensures maximum computing processing power, and avoids long response times caused by system overload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819837A_ABST
    Figure CN118819837A_ABST
Patent Text Reader

Abstract

The invention provides a system performance dynamic regulation and control method and device, computer equipment and a storage medium. The system performance dynamic regulation and control method comprises the steps of obtaining a plurality of load indexes of a system; according to the numerical value of each load index, a current limiting threshold corresponding to each load index is determined, a plurality of current limiting thresholds are obtained, and the plurality of current limiting thresholds are in one-to-one correspondence with the plurality of load indexes; determining a target current-limiting threshold value of the system based on the plurality of current-limiting threshold values; and regulating and controlling the performance index of the system through the target current limiting threshold value. According to the embodiment of the invention, the system performance can be dynamically regulated and controlled, and the purposes of ensuring the stable operation of the system, fully utilizing the system resources and ensuring that the system provides the maximum calculation processing capability are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for dynamically regulating system performance. Background Art

[0002] When the system faces a large number of requests, that is, the number of requests exceeds the system's processing and computing capabilities, it may cause problems such as system downtime. Therefore, in order to ensure the normal operation of the system, it is very necessary to dynamically adjust the system performance.

[0003] However, it is difficult to achieve in the prior art both ensuring the stable operation of the system and making full use of the system resources and ensuring that the system provides the maximum computing processing capability.

[0004] Therefore, there is an urgent need for a method for dynamically regulating system performance to solve the above technical problems. Summary of the invention

[0005] In view of this, the present disclosure proposes a method, device, computer equipment and storage medium for dynamically regulating system performance to solve the problem in related technologies that it is impossible to ensure stable operation of the system while fully utilizing system resources and ensuring that the system provides maximum computing processing capabilities.

[0006] The first embodiment of the present disclosure provides a method for dynamically controlling system performance, the method comprising:

[0007] Get multiple load indicators of the system;

[0008] According to the value of each load indicator, determine a current limiting threshold corresponding to each load indicator to obtain a plurality of current limiting thresholds, wherein the plurality of current limiting thresholds correspond to the plurality of load indicators one by one;

[0009] Based on the multiple current limiting thresholds, determining a target current limiting threshold of the system;

[0010] The performance index of the system is regulated by the target current limiting threshold.

[0011] The disclosed embodiment determines a current limiting threshold value corresponding to each load indicator, and determines a target current limiting threshold value of the system based on multiple current limiting threshold values. The system performance indicator is regulated by the target current limiting threshold value, and the system performance can be dynamically regulated to ensure the stable operation of the system, fully utilize system resources, and ensure that the system provides maximum computing and processing capabilities.

[0012] In the embodiment of the present disclosure, the multiple load indicators include multiple first load indicators; the current limiting threshold corresponding to each load indicator is determined according to the value of each load indicator to obtain multiple current limiting thresholds, including:

[0013] For any first load indicator among multiple first load indicators, a first current limiting threshold corresponding to the first load indicator is determined based on the value of the first load indicator and a mapping relationship corresponding to the first load indicator; the mapping relationship includes multiple value ranges of the first load indicator and the first current limiting threshold corresponding to each value range.

[0014] The disclosed embodiment determines the current limiting threshold dynamically according to the current values ​​of the first load indicators such as CPU utilization and heap memory utilization, so that the system can adaptively adjust its processing capacity to match the current load situation.

[0015] In the embodiment of the present disclosure, the plurality of first load indicators include: central processing unit utilization and heap memory utilization.

[0016] In the embodiment of the present disclosure, the multiple load indicators further include a second load indicator; and determining the current limiting threshold corresponding to each load indicator according to the value of each load indicator includes:

[0017] comparing the value of the second load indicator with a preset threshold;

[0018] If the value of the second load indicator is less than or equal to the preset threshold, setting the second current limiting threshold to the first parameter;

[0019] If the value of the second load indicator is greater than the preset threshold, the second current limiting threshold is set as a second parameter.

[0020] In the embodiment of the present disclosure, the second load indicator is the average response time of the interface.

[0021] The disclosed embodiment can ensure that the response time of the interface remains within an acceptable range by setting a preset threshold, thereby avoiding long response time due to system overload and affecting user experience; and, by real-time monitoring of the average response time of the interface and comparing it with the preset threshold, it can quickly respond to changes in system load and adjust the current limiting strategy in a timely manner.

[0022] In the embodiment of the present disclosure, determining the target current limiting threshold of the system based on the multiple current limiting thresholds includes:

[0023] Based on a plurality of first current limiting thresholds corresponding one-to-one to the plurality of first load indicators and the second current limiting threshold, a target current limiting threshold of the system is determined.

[0024] In the embodiment of the present disclosure, the performance indicator includes a transaction processing rate; the transaction processing rate is used to characterize the number of transactions processed by the system in a unit time.

[0025] The embodiment of the second aspect of the present disclosure provides a system performance dynamic control device, the device comprising:

[0026] The indicator acquisition module is used to obtain multiple load indicators of the system;

[0027] A current limiting threshold determination module, used to determine the current limiting threshold corresponding to each load indicator according to the value of each load indicator, and obtain multiple current limiting thresholds, wherein the multiple current limiting thresholds correspond to the multiple load indicators one by one;

[0028] a target current limiting threshold determination module, configured to determine a target current limiting threshold of the system based on the multiple current limiting thresholds;

[0029] The performance control module is used to control the performance index of the system through the target current limiting threshold.

[0030] An embodiment of the third aspect of the present disclosure provides an electronic device, which includes a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for dynamically controlling system performance described in the first aspect by executing the computer instructions.

[0031] An embodiment of the fourth aspect of the present disclosure provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the system performance dynamic control method described in the first aspect above.

[0032] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will become apparent from the following description or be learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not considered to be limitations of the present disclosure. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings.

[0034] In the attached picture:

[0035] Figure 1 A schematic diagram of a process of dynamically controlling system performance provided by an embodiment of the present disclosure is shown;

[0036] Figure 2 A schematic diagram showing the corresponding relationship between QPS and CPU utilization provided by an embodiment of the present disclosure;

[0037] Figure 3A schematic diagram showing a flow chart of another method for dynamically controlling system performance provided by an embodiment of the present disclosure;

[0038] Figure 4 A schematic diagram of a process for calculating average interface time consumption provided by an embodiment of the present disclosure is shown;

[0039] Figure 5 A schematic diagram of the process of interface current limiting provided by an embodiment of the present disclosure is shown;

[0040] Figure 6 A schematic diagram of the structure of a system performance dynamic control device provided by an embodiment of the present disclosure is shown;

[0041] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown;

[0042] Figure 8 A schematic diagram of a storage medium provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0043] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0044] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in the present disclosure should have the common meanings understood by those skilled in the art to which the present disclosure belongs.

[0045] The following describes relevant professional terms and application scenarios involved in the embodiments of the present disclosure.

[0046] QPS: (Transactions Per Second) is a measurement indicator that stands for "transactions per second" and is used to measure the system's ability to process transactions per unit time.

[0047] TP95: It is the judgment standard of response time in full-link stress testing. It means that within the interface response time, 95% of the data is less than or equal to this value, which can be understood as 95% of the requests will be completed within the response time threshold.

[0048] Full-link stress testing: By simulating a large number of concurrent user requests, the system's performance under high load conditions is tested, and the system's consumption of resources (such as CPU, memory, disk I / O, and network bandwidth) under high load is analyzed.

[0049] Common current limiting methods include implementing interface current limiting based on server-side current limiting frameworks (such as Sentinel, Hystrix, etc.), or using gateway tools such as Nginx and Kong. These all limit current before the request reaches the server, and cannot achieve dynamic current limiting, that is, as the influencing factors of the system change dynamically, when the server-side load index is not good, the service current limiting number should be reduced, but when the server-side load index is good, the service current limiting number should be appropriately increased. This can ensure the high availability of the platform system and make reasonable use of system resources.

[0050] In view of the problem that the above existing current limiting methods cannot perform dynamic current limiting, the embodiments of the present disclosure propose a method for dynamically regulating system performance, which dynamically adjusts the current limiting threshold value according to the system load condition to ensure that it is always a reasonable value. When the system load condition is good, the system sets the current limiting threshold value to a larger value, and as the system load increases, the current limiting threshold value is appropriately lowered.

[0051] According to an embodiment of the present disclosure, an embodiment of a method for dynamically controlling system performance is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0052] In this embodiment, a method for dynamically adjusting system performance is provided. Figure 1 is a flow chart of a method for dynamically controlling system performance according to an embodiment of the present disclosure. Figure 1 As shown, the process includes the following steps:

[0053] Step S101, obtaining multiple load indicators of the system.

[0054] In some embodiments, the load index of the system includes a first load index and a second load index. The first load index includes but is not limited to central processing unit (CPU) utilization and heap memory utilization, and the second load index includes but is not limited to system network indicators (such as average interface response time).

[0055] Specifically, heap memory utilization usually refers to the ratio of the amount of memory allocated from the heap memory to the total heap memory capacity during the program's operation. The heap memory is a memory area used for dynamic memory allocation. The program can request or release memory from the heap as needed during operation. The average interface response time refers to the average time it takes to respond to multiple requests to an interface within a certain period of time. It is an important indicator for measuring interface performance and is usually used to evaluate the efficiency of the server in processing requests.

[0056] Step S102, determining a current limiting threshold corresponding to each load indicator according to the value of each load indicator, and obtaining a plurality of current limiting thresholds.

[0057] In some embodiments, multiple current limiting thresholds correspond one-to-one to the multiple load indicators, for example: load indicator 1 corresponds to current limiting threshold 1, load indicator 2 corresponds to current limiting threshold 2, and load indicator 3 corresponds to current limiting threshold 3.

[0058] In some embodiments, the plurality of load indicators include a plurality of first load indicators, and the step S102 includes step S1021:

[0059] Step S1021: for any first load indicator among the multiple first load indicators, determine a first current limiting threshold corresponding to the first load indicator according to the value of the first load indicator and the mapping relationship corresponding to the first load indicator.

[0060] Specifically, the mapping relationship includes multiple numerical ranges of the first load indicator, and a first current limiting threshold corresponding to each numerical range, such as shown in Table 1: when the first load indicator is CPU utilization, the first current limiting threshold corresponding to different CPU utilization ranges; and as shown in Table 2: when the first load indicator is heap memory utilization, the first current limiting threshold corresponding to different heap memory utilizations.

[0061] More specifically, when determining the first current limiting threshold corresponding to the first load indicator, it is possible to first determine which value range in the mapping relationship the value of the first load indicator belongs to, and then use the first current limiting threshold corresponding to the value range as the first current limiting threshold corresponding to the first load indicator.

[0062] Table 1

[0063] CPU utilization range The first current limiting threshold corresponding to the CPU Less than 50% QPS*0.8 when CPU reaches 75% during stress test 50%~55% QPS*0.8 when CPU reaches 70% during stress test 55%~60% QPS*0.8 when CPU reaches 65% during stress test 60%~65% QPS*0.8 when CPU reaches 60% during stress test 65%~70% QPS*0.8 when CPU reaches 55% during stress test 70%~75% QPS*0.8 when CPU reaches 50% during stress test More than 75% QPS*0.8 when CPU reaches 40% during stress test

[0064] Table 2

[0065] Heap memory utilization Current limiting threshold corresponding to heap memory Less than 50% QPS*0.8 when the heap memory utilization reaches 75% during stress testing 50%~55% QPS*0.8 when the heap memory utilization reaches 70% during stress testing 55%~60% QPS*0.8 when the heap memory utilization reaches 65% during stress testing 60%~65% QPS*0.8 when the heap memory utilization reaches 60% during stress testing 65%~70% QPS*0.8 when the heap memory utilization reaches 55% during stress testing 70%~75% QPS*0.8 when the heap memory utilization reaches 50% during stress testing More than 75% QPS*0.8 when the heap memory utilization reaches 40% during stress testing

[0066] In some embodiments, the above mapping relationship can be obtained in the following manner, which is described by taking CPU utilization as an example:

[0067] Perform full-link stress testing on the system. During the stress testing process, record the corresponding relationship between performance indicators (QPS, Queries PerSecond) and CPU usage (for example Figure 2As shown), this work can be implemented with the help of a test tool or an automated program, which is not specifically limited here. After determining the corresponding relationship between QPS and CPU utilization, the current limiting threshold corresponding to the CPU utilization in different intervals is calculated according to the corresponding relationship, thereby establishing a mapping relationship between CPU utilization and current limiting threshold. The specific calculation method can refer to the above table 1.

[0068] In some embodiments, the plurality of load indicators further includes a second load indicator, such as Figure 3 As shown, the above step S102 includes steps S301 to S303:

[0069] Step S301: compare the value of the second load indicator with a preset threshold.

[0070] Specifically, the second load indicator refers to the system network indicator, that is, the average interface response time, which can be understood as the average response time (or average time consumption) of the interface within a unit time (for example, one minute). The average time consumption of the system interface can be determined in the following ways: through custom monitoring or third-party monitoring, the response time consumption of all interfaces in the system is calculated in real time, and then the average interface time consumption of the system is calculated based on the response time consumption of all interfaces. The average interface time consumption can be stored in Redis, for example Figure 4 shown.

[0071] Specifically, the preset threshold may be the TP95 interface response time during full-link stress testing.

[0072] Step S302: If the value of the second load indicator is less than or equal to the preset threshold, the second current limiting threshold is set to the first parameter.

[0073] Specifically, if the interface average response time Time_average value does not exceed the TP95 interface response time, the second current limiting threshold is set to 1.

[0074] Step S303: If the value of the second load indicator is greater than the preset threshold, the second current limiting threshold is set as a second parameter.

[0075] Specifically, if the interface average response time Time_average exceeds the TP95 interface response time, it indicates that the current network condition is poor, and the second current limiting threshold value needs to be lowered, that is, the second current limiting threshold value factor is set to TP95 interface response time / interface average response time Time_average.

[0076] Step S103: determining a target current limiting threshold of the system based on the multiple current limiting thresholds.

[0077] In one embodiment, the target current limiting threshold of the system can be calculated based on a plurality of first current limiting thresholds corresponding to the plurality of first load indicators and the second current limiting threshold by the following formula:

[0078] Threshold=(w1*Threshold1+w2*Threshold2)*factor

[0079] Among them, Threshold1 is the first current limiting threshold corresponding to CPU utilization, w1 is the weight corresponding to CPU utilization; Threshold2 is the first current limiting threshold corresponding to heap memory utilization, w2 is the weight corresponding to heap memory utilization, w1+w2=1. Considering that the CPU can better reflect the current load level, the w1 value is set to 0.7. In addition, factor is the second current limiting threshold corresponding to the average response time of the interface. If the average response time Time_average value of the current interface does not exceed TP95, the factor value is 1, otherwise, factor=TP95 / Time_average.

[0080] Step S104: regulating the performance index of the system through the target current limiting threshold.

[0081] Specifically, if the value of a system performance indicator (such as flow, ie, transaction processing rate, the number of transactions processed by the system per unit time) is greater than a target current limiting threshold, current limiting processing may be performed on the system interface.

[0082] In some embodiments, the calculation of the current limiting threshold is performed in real time as the interface is called, and is stored and maintained in Redis. When the interface is called, the current limiting threshold and the current flow are first obtained from Redis to determine whether the flow should be limited. If the flow is not limited, the interface is executed, and the current limiting threshold and the current flow value are calculated and maintained (asynchronous execution), as shown in the following example: Figure 5 shown.

[0083] The disclosed embodiment adjusts the current limiting threshold dynamically in real time based on the system load condition. When the load condition is good, the current limiting threshold is not limited or is kept at a larger value, ensuring full utilization of system resources and allowing the system to provide maximum computing processing capabilities. When the system load condition deteriorates, it can be detected in time and the current limiting threshold can be dynamically adjusted as soon as possible. In addition, the technical solution provided by the disclosed embodiment is relatively simple to implement, requiring only the participation of Redis, and only the relevant Java annotations need to be completed in development, which has good applicability.

[0084] Corresponding to the implementation of the above system performance dynamic control method, the present disclosure embodiment also provides a system performance dynamic control device for executing the above Figures 1 to 5 The system performance dynamic control method described in any of the embodiments shown in the figure. Figure 6 As shown, the system performance dynamic control device includes:

[0085] The indicator acquisition module is used to obtain multiple load indicators of the system;

[0086] A current limiting threshold determination module, used to determine the current limiting threshold corresponding to each load indicator according to the value of each load indicator, and obtain multiple current limiting thresholds, wherein the multiple current limiting thresholds correspond to the multiple load indicators one by one;

[0087] a target current limiting threshold determination module, configured to determine a target current limiting threshold of the system based on the multiple current limiting thresholds;

[0088] The performance control module is used to control the performance index of the system through the target current limiting threshold.

[0089] Optionally, the multiple load indicators include multiple first load indicators; the current limiting threshold determination module is also used to: for any one of the multiple first load indicators, determine the first current limiting threshold corresponding to the first load indicator according to the value of the first load indicator and the mapping relationship corresponding to the first load indicator; the mapping relationship includes multiple value ranges of the first load indicator and the first current limiting threshold corresponding to each value range.

[0090] Optionally, the multiple first load indicators include: central processing unit utilization and heap memory utilization.

[0091] Optionally, the multiple load indicators also include a second load indicator; the current limiting threshold determination module is also used to: compare the value of the second load indicator with a preset threshold; if the value of the second load indicator is less than or equal to the preset threshold, set the second current limiting threshold to the first parameter; if the value of the second load indicator is greater than the preset threshold, set the second current limiting threshold to the second parameter.

[0092] Optionally, the second load indicator is an average response time of the interface.

[0093] Optionally, the target current limiting threshold determination module is further used to determine the target current limiting threshold of the system based on a plurality of first current limiting thresholds corresponding one-to-one to the plurality of first load indicators, and the second current limiting threshold.

[0094] Optionally, the performance indicator includes a transaction processing rate; the transaction processing rate is used to characterize the number of transactions processed by the system in a unit time.

[0095] The system performance dynamic control device provided in the above-mentioned embodiment of the present disclosure and the system performance dynamic control method provided in the embodiment of the present disclosure are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.

[0096] The present disclosure also provides an electronic device to implement the above-mentioned system performance dynamic control method. Figure 7 , which shows a schematic diagram of an electronic device provided by some embodiments of the present disclosure. Figure 7 As shown, the electronic device 7 includes: a processor 700, a memory 701, a bus 702 and a communication interface 703, wherein the processor 700, the communication interface 703 and the memory 701 are connected via the bus 702; the memory 701 stores a computer program that can be run on the processor 700, and the processor 700 executes the aforementioned Figures 1 to 5 A method for dynamically controlling system performance provided by any of the illustrated implementations.

[0097] The memory 701 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 703 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0098] The bus 702 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 701 is used to store programs. After receiving the execution instruction, the processor 700 executes the program. Figures 1 to 5 The method for dynamically controlling system performance disclosed in any of the illustrated embodiments may be applied to the processor 700 or implemented by the processor 700 .

[0099] The processor 700 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 700 or the instruction in the form of software. The above processor 700 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701, and the processor 700 reads the information in the memory 701 and completes the steps of the above method in combination with its hardware.

[0100] The electronic device provided by the embodiment of the present disclosure and the method for dynamically controlling system performance provided by the embodiment of the present disclosure are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented by them.

[0101] The present disclosure also provides a computer-readable storage medium corresponding to the system performance dynamic control method provided in the above embodiment. Figure 8 The computer-readable storage medium shown is a CD 30 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the method for dynamically controlling system performance provided by any of the aforementioned embodiments will be executed.

[0102] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.

[0103] The computer-readable storage medium provided by the above-mentioned embodiments of the present disclosure and the method for dynamically controlling system performance provided by the embodiments of the present disclosure are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.

[0104] It should be noted that:

[0105] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present disclosure can be practiced without these specific details. In some instances, well-known structures and technologies are not shown in detail so as not to obscure the understanding of this description.

[0106] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following schematic diagram: the claimed disclosure requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, the inventive aspects lie in less than all the features of the single embodiment disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present disclosure.

[0107] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of this disclosure and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0108] The above is only a preferred specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for dynamically controlling system performance, characterized in that: The method comprises: Get multiple load indicators of the system; According to the value of each load indicator, determine a current limiting threshold corresponding to each load indicator to obtain a plurality of current limiting thresholds, wherein the plurality of current limiting thresholds correspond to the plurality of load indicators one by one; Based on the multiple current limiting thresholds, determining a target current limiting threshold of the system; The performance index of the system is regulated by the target current limiting threshold.

2. The method according to claim 1, characterized in that The multiple load indicators include multiple first load indicators; the current limiting threshold corresponding to each load indicator is determined according to the value of each load indicator to obtain multiple current limiting thresholds, including: For any first load indicator among multiple first load indicators, a first current limiting threshold corresponding to the first load indicator is determined based on the value of the first load indicator and a mapping relationship corresponding to the first load indicator; the mapping relationship includes multiple value ranges of the first load indicator and the first current limiting threshold corresponding to each value range.

3. The method according to claim 2, characterized in that The plurality of first load indicators include: CPU utilization and heap memory utilization.

4. The method according to claim 2 or 3, characterized in that: The multiple load indicators also include a second load indicator; and determining the current limiting threshold corresponding to each load indicator according to the value of each load indicator includes: comparing the value of the second load indicator with a preset threshold; If the value of the second load indicator is less than or equal to the preset threshold, setting the second current limiting threshold to the first parameter; If the value of the second load indicator is greater than the preset threshold, the second current limiting threshold is set as a second parameter.

5. The method according to claim 4, characterized in that The second load indicator is the average response time of the interface.

6. The method according to claim 4, characterized in that The step of determining a target current limiting threshold of the system based on the multiple current limiting thresholds includes: Based on a plurality of first current limiting thresholds corresponding one-to-one to the plurality of first load indicators and the second current limiting threshold, a target current limiting threshold of the system is determined.

7. The method according to claim 1 or 2, characterized in that: The performance indicator includes a transaction processing rate; the transaction processing rate is used to characterize the number of transactions processed by the system in a unit time.

8. A system performance dynamic control device, characterized in that: The device comprises: The indicator acquisition module is used to obtain multiple load indicators of the system; A current limiting threshold determination module, used to determine the current limiting threshold corresponding to each load indicator according to the value of each load indicator, and obtain multiple current limiting thresholds, wherein the multiple current limiting thresholds correspond to the multiple load indicators one by one; a target current limiting threshold determination module, configured to determine a target current limiting threshold of the system based on the multiple current limiting thresholds; The performance control module is used to control the performance index of the system through the target current limiting threshold.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for dynamically controlling system performance according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the system performance dynamic control method according to any one of claims 1 to 7.