Container network performance tuning method
Through real-time monitoring and dynamic adjustment of container network resources, combined with automated testing, the problem of limited container network performance is solved, and efficient and high-quality tuning results are achieved.
Patent Information
- Application Number
- CN202510725533.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-08-15
AI Technical Summary
As the network scale expands, container network performance is limited, affecting user experience and causing waste of network resources, and it is difficult to efficiently tune the existing technology.
By monitoring container network performance in real time, obtaining configuration data and performance data, dynamically adjusting resource allocation and limitations, building tuning strategies, and performing automated tests to optimize container network performance.
It realizes efficient and high-quality tuning of container network performance, optimizes resource utilization, and improves user experience.
Smart Images

Figure CN120499002A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network performance optimization, and in particular to a container network performance tuning method. Background Art
[0002] With the rapid development of the Internet, network scale continues to expand, network management becomes increasingly complex, but network resources are efficient. Containers deploy lightweight network environments to quickly implement network processes such as network development, transmission, and testing. However, to adapt to the complexity of the network, the scale of containers continues to expand, and the performance of container networks continues to be limited, seriously affecting the user experience and causing waste of network resources.
[0003] Therefore, the present invention provides a method for optimizing container network performance. Summary of the Invention
[0004] The present invention provides a container network performance tuning method, which is used to obtain container network configuration data and container network performance data by real-time monitoring of container network performance; dynamically adjust the container's network resource allocation data and network resource restriction data in combination with network resource data to perform primary network performance tuning on the container; construct a container network performance tuning strategy, determine the container's secondary network performance tuning target, and perform secondary network performance tuning on the container; perform automated network performance testing, and optimize and adjust the container network performance tuning strategy based on the test results; thereby achieving efficient and high-quality tuning of container network performance.
[0005] The present invention provides a container network performance tuning method, comprising: Step 1: Monitor container network performance in real time based on preset container network performance indicator data, and obtain container network configuration data and container network performance data; Step 2: Based on the container network configuration data and network resource data, dynamically adjust the container's network resource allocation data and network resource limit data to optimize the container's network performance. Step 3: Integrate the preset container network performance indicator data and network resource data, build a container network performance tuning strategy, determine the container secondary network performance tuning target, and perform secondary network performance tuning on the container; Step 4: Perform automated network performance testing on the container and optimize the container network performance tuning strategy based on the test results.
[0006] According to a container network performance tuning method provided by the present invention, the container network performance is monitored in real time according to preset container network performance indicator data, and container network configuration data and container network performance data are obtained, including: Determine preset container network performance indicator data based on historical container network monitoring data, where the preset container network performance indicator data includes: container network resource utilization performance indicator data, container network resource usage performance indicator data, and container network connection performance indicator data; Based on the container network monitoring equipment and the preset container network performance indicator data, the container network performance is monitored in real time and the data is summarized to obtain the container network configuration data and container network performance data.
[0007] According to a container network performance tuning method provided by the present invention, obtaining container network configuration data includes: Allow users to customize network configurations. If a user-defined network configuration exists, obtain and verify the user-defined network configuration. If the verification is qualified, record it as container network configuration data. The user-defined network configuration includes: container network resource bandwidth limit configuration data and container network resource priority configuration data; Otherwise, the container network configuration data is determined based on the data aggregation results.
[0008] According to a container network performance tuning method provided by the present invention, the network resource allocation data and network resource restriction data of the container are dynamically adjusted to perform network performance tuning on the container, including: According to the container network configuration data, the container network performance data, and the network resource data, the network resource allocation threshold data of the container and the network resource allocation threshold data are set; When it is monitored that the actual network resource allocation data of the container exceeds the network resource allocation threshold data of the container, the network resource allocation data of the container is dynamically adjusted according to the network performance data of the container and the number of containers; When it is monitored that the actual resource allocation data of the network exceeds the resource allocation threshold data of the network, dynamically adjust the network resource limit data of the container; Perform network performance tuning on the container based on the network resource allocation data of the container and the network resource limitation data of the container.
[0009] According to the present invention, a container network performance tuning method is provided, which integrates preset container network performance indicator data and network resource data, constructs a container network performance tuning strategy, determines the container secondary network performance tuning target, and performs secondary network performance tuning on the container, including: Integrate preset container network performance indicator data and network resource data, perform weighted quantitative analysis of container network performance, and determine the container's network performance level. The container's network performance level is level 3. Determine a weighted quantization value range corresponding to the network performance level of the container based on the historical quantization data of the container network. When the weighted quantization result of the container is within the quantization value range corresponding to the level 1 network performance level, determine that the network performance level of the corresponding container is level 1. Obtain a standard container network performance tuning policy. When the container's network performance level is monitored to be level 3, do not execute the standard container network performance tuning policy. When the container's network performance level is monitored to be level 2, the standard container network performance tuning strategy is called according to the preset container network performance tuning cycle; When the container's network performance level is monitored to be level 1, the standard container network performance tuning strategy is called according to the monitoring time; When the network performance level of the container is level 2 or level 1, a container network performance tuning strategy is constructed and applied based on the preset container network performance indicator data and network resource data in combination with the standard container network performance tuning strategy; Filter the container network performance tuning strategy according to the preset performance tuning threshold, determine the container secondary network performance tuning target, and calculate the container secondary network performance tuning quantitative value of the network; ;in, Indicates the quantitative value of the secondary network performance tuning of the network container; Indicates the The weight of the impact of each container on the container secondary network performance tuning quantization value of the network; Indicates the The weight of the impact of the secondary network performance tuning target of each container on the container secondary network performance tuning quantization value of the network; Indicates the The container is based on The objective function for performance tuning is to optimize the secondary network performance of each container; Indicates the In the container Monitoring value of the secondary network performance tuning target for each container; express Network resource allocation data for the corresponding container; express Network resource limit data for the corresponding container; Indicates the container secondary network performance tuning allocation parameters; Indicates the container secondary network performance tuning limit parameters; Indicates the number of containers; Indicates the number of container secondary network performance tuning targets; When the container secondary network performance tuning quantization value of the network is not less than the preset tuning value, performing iterative secondary network performance tuning according to the container secondary network performance tuning target and the number of container secondary network performance tuning targets; Otherwise, redefine the secondary network performance tuning target for the container and perform secondary network performance tuning on the container.
[0010] According to a container network performance tuning method provided by the present invention, a container network performance tuning strategy is constructed and applied, including: Perform distributed deployment and apply the container network performance tuning strategy according to the network performance level of the container; Independently build and apply container network performance tuning strategies.
[0011] According to a container network performance tuning method provided by the present invention, an automated network performance test is performed on the container, and the container network performance tuning strategy is optimized and adjusted based on the test results, including: Performing an automated network performance test on the container based on the primary network performance tuning and the secondary network performance tuning, and if the test result is qualified, determining that the container network performance adjustment policy does not need to be optimized and adjusted; Otherwise, locate the abnormal test data, optimize and adjust the container network performance tuning strategy, and perform the network performance test according to the next automated network performance test time.
[0012] A container network performance tuning method provided by the present invention also includes: Visualize container network performance and container network performance tuning results; If the container network performance fails to be tuned within the set tuning period, the container connection is disconnected or the initial configuration data of the container network is automatically applied.
[0013] Compared with the prior art, the present invention has the following advantages: By monitoring the container network performance in real time, we can obtain the container network configuration data and container network performance data; dynamically adjust the container's network resource allocation data and network resource restriction data based on the network resource data, and perform the first network performance tuning for the container; build a container network performance tuning strategy, determine the container's secondary network performance tuning target, and perform the secondary network performance tuning for the container; conduct automated network performance testing, and optimize and adjust the container network performance tuning strategy based on the test results; thus, achieving efficient and high-quality tuning of the container network performance.
[0014] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0015] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 This is a flowchart of a container network performance tuning method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0018] Example 1: The embodiment of the present invention provides a method for optimizing container network performance. Figure 1 As shown, including: Step 1: Monitor container network performance in real time based on preset container network performance indicator data, and obtain container network configuration data and container network performance data; Step 2: Based on the container network configuration data and network resource data, dynamically adjust the container's network resource allocation data and network resource limit data to optimize the container's network performance. Step 3: Integrate the preset container network performance indicator data and network resource data, build a container network performance tuning strategy, determine the container secondary network performance tuning target, and perform secondary network performance tuning on the container; Step 4: Perform automated network performance testing on the container and optimize the container network performance tuning strategy based on the test results.
[0019] In this embodiment, container network performance indicator data is preset, such as container network resource utilization performance indicator data, container network resource usage performance indicator data, and container network connection performance indicator data.
[0020] In this embodiment, the container network configuration data, for example, container network resource bandwidth limit configuration data and container network resource priority configuration data.
[0021] In this embodiment, the network resource data refers to data of network allocatable resources.
[0022] In this embodiment, the number of network resources is limited.
[0023] In this embodiment, the network resource allocation data refers to data allocated by the network to the container, for example, the resource bandwidth b1 allocated by the network to the container a1.
[0024] In this embodiment, the network resource restriction data refers to data that the network restricts allocation to the container, for example, the network restricts the resource bandwidth of container a1 to not exceed b2.
[0025] In this embodiment, performing a network performance tuning on a container is to dynamically adjust the network resource allocation data and network resource restriction data of the container based on the network configuration data and network resource data of the container, and is a separate performance tuning for a single container.
[0026] In this embodiment, different container networks are constructed with different performance tuning strategies.
[0027] In this embodiment, the secondary network performance tuning target of the container refers to a target for optimizing the performance of the container. For example, the secondary network performance tuning target of container a1 is to optimize the network resource utilization of container a1.
[0028] In this embodiment, secondary network performance tuning of the container is performed according to the container network performance tuning policy and the container secondary network performance tuning target, and is an overall performance tuning of all containers in the network.
[0029] In this embodiment, an automated network performance test is performed on the container periodically.
[0030] The working principle and beneficial effects of the above technical solution are: through real-time monitoring of container network performance, container network configuration data and container network performance data are obtained; based on network resource data, the network resource allocation data and network resource restriction data of the container are dynamically adjusted to perform a first-time network performance tuning of the container; a container network performance tuning strategy is constructed to determine the secondary network performance tuning target of the container and perform a secondary network performance tuning of the container; automated network performance testing is performed and the container network performance tuning strategy is optimized and adjusted according to the test results; efficient and high-quality tuning of the container network performance is achieved.
[0031] Example 2: An embodiment of the present invention provides a container network performance tuning method, which monitors container network performance in real time based on preset container network performance indicator data, and obtains container network configuration data and container network performance data, including: Determine the preset container network performance index data according to the historical monitoring data of the container network. The preset container network performance index data includes: container network resource utilization performance index data, container network resource usage performance index data, and container network connection volume performance index data; According to the container network monitoring device, combine the preset container network performance index data to monitor the container network performance in real time and perform data aggregation to obtain the container network configuration data and the container network performance data.
[0032] In this embodiment, data aggregation is performed automatically and periodically.
[0033] In this embodiment, according to the container network monitoring device, combine the preset container network performance index data to monitor the container network performance in real time and perform data aggregation. When the data is abnormal, for example, set the performance index data threshold. When the threshold is exceeded, it is determined that the corresponding container network performance index data is abnormal and an abnormal mark is made.
[0034] In this embodiment, during the process of monitoring the container network performance in real time and performing data aggregation, the data is encrypted and desensitized to ensure data security.
[0035] The working principle and beneficial effects of the above technical solution are: By presetting the container network performance index data, the container network performance is monitored in real time, and the container network configuration data and the container network performance data are obtained, laying a data foundation for subsequent container network performance tuning.
[0036] Embodiment 3: The embodiment of the present invention provides a method for optimizing the container network performance. Obtain the container network configuration data, including: Allow users to customize the network configuration. If there is a user-defined network configuration, obtain and verify the user-defined network configuration. After the verification is qualified, it is recorded as the container network configuration data. The user-defined network configuration includes: container network resource bandwidth limit configuration data and container network resource priority configuration data; Otherwise, determine the container network configuration data according to the data aggregation result.
[0037] In this embodiment, allow users to customize the network configuration. When the user-defined network configuration is completed, configuration verification is performed. For example, the user-defined network configuration a1 limits the container network resource bandwidth not to exceed b1. According to the container network configuration data, the container network resource bandwidth does not exceed b2 < b1, that is, the user-defined network configuration a1 is verified.
[0038] In this embodiment, different user-defined network configurations do not affect each other.
[0039] The working principle and beneficial effects of the above technical solution are: by obtaining container network configuration data, users are allowed to customize network configuration, which is conducive to improving user experience and meeting the actual application performance requirements of container networks in different network scenarios.
[0040] Example 4: An embodiment of the present invention provides a container network performance tuning method, which dynamically adjusts the network resource allocation data and network resource restriction data of the container and performs a network performance tuning on the container, including: According to the container network configuration data, the container network performance data, and the network resource data, the network resource allocation threshold data of the container and the network resource allocation threshold data are set; When it is monitored that the actual network resource allocation data of the container exceeds the network resource allocation threshold data of the container, the network resource allocation data of the container is dynamically adjusted according to the network performance data of the container and the number of containers; When it is monitored that the actual resource allocation data of the network exceeds the resource allocation threshold data of the network, dynamically adjust the network resource limit data of the container; Perform network performance tuning on the container based on the network resource allocation data of the container and the network resource limitation data of the container.
[0041] In this embodiment, the network resource allocation threshold data of the container, for example, the network resource allocation threshold b1 of the container a1, is the network resource that the container a1 can use to receive the maximum amount of data b1 per unit time.
[0042] In this embodiment, the network resource allocation threshold data, for example, the network resource allocation threshold c1, is the maximum network resource of the network allocation container.
[0043] In this embodiment, after the network performance of the container is tuned once, the container performance is continuously monitored to verify the effect of the network performance tuning.
[0044] The working principle and beneficial effects of the above technical solution are: by dynamically adjusting the network resource allocation data and network resource restriction data of the container, the network performance of the container is tuned, and the performance of the container network is preliminarily optimized.
[0045] Example 5: An embodiment of the present invention provides a container network performance tuning method that integrates preset container network performance indicator data and network resource data, constructs a container network performance tuning strategy, determines a secondary network performance tuning target for the container, and performs secondary network performance tuning on the container, including: Integrate preset container network performance indicator data and network resource data, perform weighted quantitative analysis of container network performance, and determine the container's network performance level. The container's network performance level is level 3. Determine a weighted quantization value range corresponding to the network performance level of the container based on the historical quantization data of the container network. When the weighted quantization result of the container is within the quantization value range corresponding to the level 1 network performance level, determine that the network performance level of the corresponding container is level 1. Obtain a standard container network performance tuning policy. When the container's network performance level is monitored to be level 3, do not execute the standard container network performance tuning policy. When the container's network performance level is monitored to be level 2, the standard container network performance tuning strategy is called according to the preset container network performance tuning cycle; When the container's network performance level is monitored to be level 1, the standard container network performance tuning strategy is called according to the monitoring time; When the network performance level of the container is level 2 or level 1, a container network performance tuning strategy is constructed and applied based on the preset container network performance indicator data and network resource data in combination with the standard container network performance tuning strategy; Filter the container network performance tuning strategy according to the preset performance tuning threshold, determine the container secondary network performance tuning target, and calculate the container secondary network performance tuning quantitative value of the network; ;in, Indicates the quantitative value of the secondary network performance tuning of the network container; Indicates the The weight of the impact of each container on the container secondary network performance tuning quantization value of the network; Indicates the The weight of the impact of the secondary network performance tuning target of each container on the container secondary network performance tuning quantization value of the network; Indicates the The container is based on The objective function for performance tuning is to optimize the secondary network performance of each container; Indicates the In the container Monitoring value of the secondary network performance tuning target for each container; express Network resource allocation data for the corresponding container; express Network resource limit data for the corresponding container; Indicates the container secondary network performance tuning allocation parameters; Indicates the container secondary network performance tuning limit parameters; Indicates the number of containers; Indicates the number of container secondary network performance tuning targets; When the container secondary network performance tuning quantization value of the network is not less than the preset tuning value, performing iterative secondary network performance tuning according to the container secondary network performance tuning target and the number of container secondary network performance tuning targets; Otherwise, redefine the secondary network performance tuning target for the container and perform secondary network performance tuning on the container.
[0046] In this embodiment, the preset container network performance indicator data and network resource data are integrated, that is, a comprehensive quantitative analysis is performed on the preset container network performance indicator data and network resource data for subsequent determination of the container's network performance level.
[0047] In this embodiment, the preset container network performance indicator data and network resource data are integrated. For example, if the preset container network performance indicator data of container a1 and container a2 are consistent, the network performance levels of container a1 and container a2 are further determined based on the corresponding network resource data. That is, the network resource data is used to further quantify the network performance levels of the containers.
[0048] In this embodiment, when the container network performance level is monitored to be level 3, the standard container network performance tuning strategy is not executed, that is, it is determined that the container network performance meets the performance requirements.
[0049] In this embodiment, when the container network performance level is monitored to be level 2, the standard container network performance tuning strategy is called according to the preset container network performance tuning cycle, that is, the container network performance needs to be tuned, but the current performance still meets the performance requirements.
[0050] In this embodiment, when the container network performance level is monitored to be level 1, the standard container network performance tuning strategy is called according to the monitoring time; that is, the container network performance cannot meet the performance requirements and performance tuning is required immediately.
[0051] In this embodiment, the priority of performance tuning for containers with a network performance level of 1 is higher than that for containers with a network performance level of 2.
[0052] In this embodiment, a container network performance tuning strategy is constructed and applied based on the preset container network performance indicator data and network resource data in combination with the standard container network performance tuning strategy. For example, if the network performance level of container a1 is level 1, network performance tuning can be achieved by adjusting data b1, b2, and b3. Then, a network performance tuning strategy for container a1 is constructed based on data b1, b2, b3 and the standard container network performance tuning strategy.
[0053] In this embodiment, the standard container network performance tuning strategy refers to a strategy commonly used when performing performance tuning on containers.
[0054] In this embodiment, the container network performance tuning strategy is screened according to a preset performance tuning threshold to determine a secondary container network performance tuning target. For example, data b1, b2, and b3 can be used to perform performance tuning on container a1, but the tuning effect of data b1 is lower than the preset performance tuning threshold. In this case, data b2 and data b3 are recorded as the secondary container network performance tuning targets for container a1.
[0055] In this embodiment, the network container secondary network performance tuning quantization value refers to the quantization value corresponding to the overall network performance tuning of the container. The higher the network container secondary network performance tuning quantization value, the higher the performance tuning quality and the higher the performance tuning efficiency.
[0056] The working principle and beneficial effects of the above technical solution are: by integrating preset container network performance indicator data and network resource data, building a container network performance tuning strategy, determining the container secondary network performance tuning target, and performing secondary network performance tuning on the container, efficient and high-quality tuning of the container network performance is achieved.
[0057] Example 6: An embodiment of the present invention provides a container network performance tuning method, which constructs and applies a container network performance tuning strategy, including: Perform distributed deployment and apply the container network performance tuning strategy according to the network performance level of the container; Independently build and apply container network performance tuning strategies.
[0058] In this embodiment, the container network performance tuning policy is distributedly deployed and applied according to the network performance level of the container. For example, the container network performance tuning policy is distributedly deployed in the network nodes and applied to the container.
[0059] In this embodiment, container network performance tuning strategies are independently constructed and applied to avoid mutual impact between containers, which may lead to degradation of container network performance.
[0060] The working principle and beneficial effects of the above technical solution are: through distributed deployment of applications and independent construction of application container network performance tuning strategies, it is conducive to achieving effective performance tuning of each container network, ensuring the rational and efficient use of network resources.
[0061] Example 7: An embodiment of the present invention provides a container network performance tuning method, which performs automated network performance testing on containers and optimizes and adjusts container network performance tuning strategies based on the test results, including: Performing an automated network performance test on the container based on the primary network performance tuning and the secondary network performance tuning, and if the test result is qualified, determining that the container network performance adjustment policy does not need to be optimized and adjusted; Otherwise, locate the abnormal test data, optimize and adjust the container network performance tuning strategy, and perform the network performance test according to the next automated network performance test time.
[0062] In this embodiment, the test results are qualified, for example, the container network resource utilization performance indicator data.
[0063] In this embodiment, abnormal test data is located, for example, performance indicator data of container network resource usage is located.
[0064] In this embodiment, the time of the next automated network performance test is determined according to the abnormality degree of the abnormal container test data. The higher the abnormality degree, the closer the time of the next automated network performance test.
[0065] The working principle and beneficial effects of the above technical solution are: by performing automated network performance testing on containers, optimizing and adjusting the container network performance tuning strategy based on the test results, it is effectively ensured that the container network performance meets the performance requirements.
[0066] Example 8: An embodiment of the present invention provides a method for optimizing container network performance, further comprising: Visualize container network performance and container network performance tuning results; If the container network performance fails to be tuned within the set tuning period, the container connection is disconnected or the initial configuration data of the container network is automatically applied.
[0067] In this embodiment, the container network performance is uniformly visualized. For example, the container network performance a1, the container network performance a2, and the container network performance a3 are visualized on the same page, and the specific performance data is displayed on the next visualization sub-page.
[0068] In this embodiment, if it is determined that there is a risk in the container connection, the container connection is disconnected to ensure the network performance of other containers.
[0069] In this embodiment, the initial configuration data of the container network is automatically applied. For example, if the usage of the container network resources exceeds a threshold and thus causes the container network performance tuning to fail, the initial configuration data of the container network is automatically applied.
[0070] The working principle and beneficial effects of the above technical solution are: through visual display, it is convenient to perform efficient and high-quality performance tuning of the container network later; disconnecting the container connection or automatically applying the initial configuration data of the container network is conducive to ensuring the stability of the container network, and thus ensuring the performance of the container network.
[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A container network performance tuning method, characterized in that: include: Step 1: Monitor container network performance in real time based on preset container network performance indicator data, and obtain container network configuration data and container network performance data; Step 2: Based on the container network configuration data and network resource data, dynamically adjust the container's network resource allocation data and network resource limit data to optimize the container's network performance. Step 3: Integrate the preset container network performance indicator data and network resource data, build a container network performance tuning strategy, determine the container secondary network performance tuning target, and perform secondary network performance tuning on the container; Step 4: Perform automated network performance testing on the container and optimize the container network performance tuning strategy based on the test results.
2. A container network performance tuning method according to claim 1, characterized in that: Monitor container network performance in real time based on preset container network performance indicator data, and obtain container network configuration data and container network performance data, including: Determine preset container network performance indicator data based on historical container network monitoring data, where the preset container network performance indicator data includes: container network resource utilization performance indicator data, container network resource usage performance indicator data, and container network connection performance indicator data; Based on the container network monitoring equipment and the preset container network performance indicator data, the container network performance is monitored in real time and the data is summarized to obtain the container network configuration data and container network performance data.
3. A container network performance tuning method according to claim 2, characterized in that: Get container network configuration data, including: Allow users to customize network configurations. If a user-defined network configuration exists, obtain and verify the user-defined network configuration. If the verification is qualified, record it as container network configuration data. The user-defined network configuration includes: container network resource bandwidth limit configuration data and container network resource priority configuration data; Otherwise, the container network configuration data is determined based on the data aggregation results.
4. A container network performance tuning method according to claim 1, characterized in that: Dynamically adjust the container's network resource allocation data and network resource limit data to optimize the container's network performance, including: According to the container network configuration data, the container network performance data, and the network resource data, the network resource allocation threshold data of the container and the network resource allocation threshold data are set; When it is monitored that the actual network resource allocation data of the container exceeds the network resource allocation threshold data of the container, the network resource allocation data of the container is dynamically adjusted according to the network performance data of the container and the number of containers; When it is monitored that the actual resource allocation data of the network exceeds the resource allocation threshold data of the network, dynamically adjust the network resource limit data of the container; Perform network performance tuning on the container based on the network resource allocation data of the container and the network resource limitation data of the container.
5. A container network performance tuning method according to claim 1, characterized in that: Integrate preset container network performance indicator data and network resource data, build container network performance tuning strategies, determine container secondary network performance tuning targets, and perform secondary network performance tuning for containers, including: Integrate preset container network performance indicator data and network resource data, perform weighted quantitative analysis of container network performance, and determine the container's network performance level. The container's network performance level is level 3. Determine a weighted quantization value range corresponding to the network performance level of the container based on the historical quantization data of the container network. When the weighted quantization result of the container is within the quantization value range corresponding to the level 1 network performance level, determine that the network performance level of the corresponding container is level 1. Obtain a standard container network performance tuning policy. When the container's network performance level is monitored to be level 3, do not execute the standard container network performance tuning policy. When the container's network performance level is monitored to be level 2, the standard container network performance tuning strategy is called according to the preset container network performance tuning cycle; When the container's network performance level is monitored to be level 1, the standard container network performance tuning strategy is called according to the monitoring time; When the network performance level of the container is level 2 or level 1, a container network performance tuning strategy is constructed and applied based on the preset container network performance indicator data and network resource data in combination with the standard container network performance tuning strategy; Filter the container network performance tuning strategy according to the preset performance tuning threshold, determine the container secondary network performance tuning target, and calculate the container secondary network performance tuning quantitative value of the network; ;in, Indicates the quantitative value of the secondary network performance tuning of the network container; Indicates the The weight of the impact of each container on the container secondary network performance tuning quantization value of the network; Indicates the The weight of the impact of the secondary network performance tuning target of each container on the container secondary network performance tuning quantization value of the network; Indicates the The container is based on The objective function for performance tuning is to optimize the secondary network performance of each container; Indicates the In the container Monitoring value of the secondary network performance tuning target for each container; express Network resource allocation data for the corresponding container; express Network resource limit data for the corresponding container; Indicates the container secondary network performance tuning allocation parameters; Indicates the container secondary network performance tuning limit parameters; Indicates the number of containers; Indicates the number of container secondary network performance tuning targets; When the container secondary network performance tuning quantization value of the network is not less than the preset tuning value, performing iterative secondary network performance tuning according to the container secondary network performance tuning target and the number of container secondary network performance tuning targets; Otherwise, redefine the secondary network performance tuning target for the container and perform secondary network performance tuning on the container.
6. A container network performance tuning method according to claim 5, characterized in that: Build and apply container network performance tuning strategies, including: Perform distributed deployment and apply the container network performance tuning strategy according to the network performance level of the container; Independently build and apply container network performance tuning strategies.
7. A container network performance tuning method according to claim 1, characterized in that: Perform automated network performance testing on containers and optimize container network performance tuning strategies based on test results, including: Performing an automated network performance test on the container based on the primary network performance tuning and the secondary network performance tuning, and if the test result is qualified, determining that the container network performance adjustment policy does not need to be optimized and adjusted; Otherwise, locate the abnormal test data, optimize and adjust the container network performance tuning strategy, and perform the network performance test according to the next automated network performance test time.
8. A container network performance tuning method according to claim 1, characterized in that: Also includes: Visualize container network performance and container network performance tuning results; If the container network performance fails to be tuned within the set tuning period, the container connection is disconnected or the initial configuration data of the container network is automatically applied.