Cloud platform management method and device, program product, and storage medium
By dividing the cloud service components of the cloud platform into multiple communities and creating a second community for load balancing when conditions are met, the problem of difficult load pressure adjustment of the cloud platform is solved, and the effect of quickly adjusting load pressure and improving performance is achieved.
Patent Information
- Application Number
- PCT/CN2024/071300
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-05
- Filing Date
- 2024-01-09
- Publication Date
- 2024-11-07
AI Technical Summary
Existing technologies cannot quickly adjust the load on cloud service components when the cloud platform is under heavy load, resulting in performance limitations.
The cloud service components in the cloud platform are divided into multiple communities based on the closeness of their call relationships. When preset conditions are met, a second community identical to the original community is created to share the load. Load balancing is achieved by cloning communities.
It quickly adjusts the load pressure of the cloud platform, improves working performance, avoids the problem of excessive load pressure on other communities due to separate expansion, and reduces the risk of cloud platform downtime.
Smart Images

Figure CN2024071300_07112024_PF_FP_ABST
Abstract
Description
A cloud platform management method, device, program product and storage medium
[0001] This application claims priority to the Chinese patent applications filed with the State Intellectual Property Office on May 4, 2023, with application number 202310492451.0 and application name “A service performance analysis method and system” and filed with the State Intellectual Property Office on July 5, 2023, with application number 202310820305.6 and application name “A cloud platform management method, device, program product and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of cloud computing, and in particular to a cloud platform management method, device, program product, and storage medium. Background Art
[0003] Cloud services are a model for increasing, using, and delivering internet-based services. They enable on-demand, scalable access to required services over the internet. Cloud services represent computing power, a commodity available online. Multiple cloud services form a cloud platform, which provides powerful computing services to users. Each cloud service can be comprised of multiple cloud service components, each of which has dependencies and / or relationships between them.
[0004] As the application scenarios of cloud services continue to expand, customers are increasingly concerned about the processing capabilities of cloud platforms or cloud services under heavy loads. A common method for managing stress on cloud service components within a cloud platform involves operations and maintenance personnel monitoring the out-degree and in-degree of each cloud service component within the cloud platform, as well as the data transmission frequency of the links between these components. Based on experience, operations and maintenance personnel determine whether hot spots or hot links exist within the cloud platform. If hot spots or hot links exist within the cloud platform, operations and maintenance personnel then scale up these hot spots and hot links based on their experience.
[0005] However, during the expansion of hot spots or hot links, operation and maintenance personnel can only adjust the load of cloud service components one by one, and cannot quickly adjust the load pressure of the cloud platform, resulting in limited performance of the cloud platform.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a cloud platform management method, device, program product, and storage medium, which can quickly adjust the load pressure of the cloud platform.
[0008] To achieve the above objectives, the present invention adopts the following technical solutions:
[0009] In a first aspect, an embodiment of the present application provides a cloud platform management method, the method comprising: dividing the multiple cloud service components in the cloud platform into multiple communities based on the calling relationships between the multiple cloud service components; wherein each community includes at least two cloud service components among the above-mentioned multiple cloud service components, the closeness of the calling relationships between the cloud service components contained in each community is greater than or equal to a preset closeness, and the closeness between the cloud service components in any one of the multiple communities and the cloud service components in other communities among the multiple communities is less than the preset closeness; if a target component in a first community among the multiple communities meets a first preset condition, a second community is created, the second community being the same as the first community, and the second community being used to share part of the load of the first community; the first preset condition is used to indicate that the performance of the target component is lower than a preset performance, and the first community is any one of the above-mentioned multiple communities; the target component is at least one component among the multiple cloud service components in the first community.
[0010] Based on this, an embodiment of the present application provides a cloud platform management method, which divides the multiple cloud service components in the cloud platform into multiple communities including a first community according to the calling relationships between the multiple cloud service components; wherein the calling relationships between the cloud service components within the community are relatively close, and the calling relationships between the communities are relatively close; when the first community meets the preset conditions, a second community identical to the first community is created (such as: cloning the first community to obtain the second community) so that the second community shares part of the load of the first community. Therefore, when the load pressure of the cloud platform is large, by cloning the entire community composed of multiple cloud service components, since the calling relationships between the cloud service components within the entire community are relatively close, load balancing the first community and the second community can quickly adjust the load pressure of the cloud platform, thereby improving the working performance of the cloud platform.
[0011] In one possible implementation, the above-mentioned calling relationship includes one or more of the following: calling information of multiple cloud service components in the cloud platform, calling frequency of the link between any two cloud service components among the multiple cloud service components in the above-mentioned cloud platform, and out-degree and in-degree of any cloud service component among the multiple cloud service components in the cloud platform.
[0012] In one possible implementation, the above-mentioned calling information includes: when the first component is the main calling component, the identifier of the cloud service component called by the first component; and when the first component is the called component, the identifier of the cloud service component that calls the first component; the first component is any one of the multiple cloud service components in the above-mentioned cloud platform.
[0013] In a possible implementation, dividing the multiple cloud service components in the cloud platform into multiple communities according to the calling relationships between the multiple cloud service components includes: dividing the multiple cloud service components into multiple communities based on a community discovery algorithm and the calling relationships.
[0014] In a possible implementation, the target component includes: a cloud service component that meets the second preset condition among multiple cloud service components in the first community, or at least one cloud service component specified by the user among multiple cloud service components in the first community.
[0015] In one possible implementation, the second preset condition includes: the top X cloud service components with the largest popularity values among multiple cloud service components in the first community; the popularity value is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component, where X is an integer greater than 0.
[0016] In one possible implementation, if the target component in the first community among the multiple communities meets the first preset condition, then a second community is created, including: if the first target feature of the above target component meets the first preset condition, then the second community is created; the above first target feature is at least one feature specified by the user among the multiple features of the target component.
[0017] In a possible implementation, the first target feature includes at least one of a processor CPU usage, a memory usage, and an I / O throughput.
[0018] In one possible implementation, when the above-mentioned first target characteristic includes CPU usage, the above-mentioned first preset condition includes: the CPU usage is greater than the preset CPU usage; when the first target characteristic includes memory usage, the first preset condition includes: the memory usage is greater than the preset memory usage; when the first target characteristic includes I / O throughput, the first preset condition includes: the I / O throughput is greater than the preset I / O throughput.
[0019] In one possible implementation, the creating of the second community includes: obtaining the modularity of the first community and each of the multiple communities other than the first community, where the modularity is a value used to describe the closeness of the calling relationship between communities; determining whether a target community exists in the other communities based on the modularity; the target community is a community in the other communities whose modularity with the first community is greater than a threshold; and creating the second community when the target community does not exist in the other communities.
[0020] In one possible implementation, when the target community exists in the other communities, a second community combination is created; the second community combination is the same as the first community combination including the first community and the target community, and the second community combination includes the second community and a third community, and the third community is the same as the target community. The second community combination is used to share part of the load of the first community combination.
[0021] In an embodiment of the present application, it is determined whether there is a target community among multiple communities whose modularity with the first community is greater than a threshold. When the target community exists (i.e., there is a community with a close calling relationship with the first community), the first community and the target community are treated as a whole community (i.e., a first community combination), and a second community combination identical to the first community combination is created, including the second community and the third community. This second community combination is used to share the load of the first community combination, thereby resolving the problem of excessive load pressure on the target community caused by expanding only the first community, and further improving the ability to reduce the load pressure on the cloud platform.
[0022] In one possible implementation, the method further includes: if the above-mentioned target component does not meet the first preset condition, determining the hotspot and hot links based on the calling relationship between the cloud service components in the first community; the hotspot is a cloud service component with a higher calling frequency among multiple cloud service components in the first community, and the hot link is a link with a higher calling frequency between multiple cloud service components; processing the hotspot and hot links according to a preset reduction strategy; the preset reduction strategy is used to make the processed hotspots and hot links meet the requirements of their respective current loads.
[0023] In the above embodiment, when the target component in the first community does not meet the first preset condition, the hotspot and hot links in the first community are determined; then, based on the community where the hotspot is located and the third preset condition satisfied by the second target feature of the hotspot, a target hotspot reduction strategy is determined, and the hotspot is processed based on the target hotspot reduction strategy, thereby reducing the load pressure of the hotspot. Similarly, the management device determines the hot link reduction strategy corresponding to the fourth preset condition satisfied by the third target feature of the hot link as the target hot link reduction strategy, and processes the hot link according to the target hot link reduction strategy to reduce the load pressure of the processed hot link, thereby solving the problem of cloud platform downtime caused by the presence of at least one cloud service component and a large link load in the first community.
[0024] In one possible implementation, the hot spots are the top N cloud service components with the highest heat values among the multiple cloud service components included in the first community; wherein the heat value is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component, and N is an integer greater than 0; the hot links are the top M links with the highest call frequency among the multiple links between the multiple cloud service components included in the first community; and M is an integer greater than 0.
[0025] In one possible implementation, the above-mentioned processing of hotspots according to a preset strategy includes: determining a target hotspot reduction strategy from a first target correspondence relationship based on an identifier of the community where the hotspot is located and a second target feature of the above-mentioned hotspot; the first target correspondence relationship includes identifiers of multiple communities, correspondences between multiple third preset conditions and multiple hotspot reduction strategies; the second target feature is a feature pre-specified by the user among multiple features of the above-mentioned hotspot; the third preset condition is used to determine whether to expand the capacity of the hotspot; and processing the above-mentioned hotspot according to the target hotspot reduction strategy.
[0026] In a possible implementation, the hotspot reduction strategy includes: reset expansion, and / or horizontal expansion.
[0027] In one possible implementation, the above-mentioned processing of hot links according to a preset strategy includes: determining a target hot link reduction strategy from a second target correspondence relationship based on a third target feature of the hot link; the second target correspondence relationship includes a correspondence between multiple fourth preset conditions and multiple hot link reduction strategies; the third target feature is a feature pre-specified by the user from multiple features of the hot link; and processing the hot link according to the target hot link reduction strategy.
[0028] In a possible implementation, the hot link reduction strategy includes: horizontal expansion and / or vertical expansion.
[0029] In one possible implementation, the above-mentioned processing of hotspots and hot links according to a preset strategy includes: determining a target type template from multiple preset type templates based on the distribution characteristics of the above-mentioned hotspots and hot links; the distribution characteristics are used to characterize the location information of the hotspots and hot links in space; the above-mentioned target type template is the type template with the highest matching degree with the distribution characteristics among multiple preset type templates; determining the target reduction strategy corresponding to the target type template from the correspondence between multiple type templates and multiple reduction strategies; and processing hotspots and hot links according to the target reduction strategy.
[0030] In the above embodiment, when the target component in the first community does not meet the first preset condition, the hotspots and hot links in the first community are determined; then, the management device determines the target type template from multiple preset type templates based on the distribution characteristics of the hotspots and hot links, and processes the hotspots and hot links according to the target reduction strategy corresponding to the target type template, so that the load pressure of the processed hotspots and hot links is reduced, thereby solving the problem of cloud platform downtime caused by the existence of at least one cloud service component and link load being heavy in the first community.
[0031] In a second aspect, the present application provides a management device, which includes: a division module and a creation module; the division module is used to divide the multiple cloud service components in the cloud platform into multiple communities based on the calling relationships between the multiple cloud service components; wherein each community includes at least two cloud service components from the multiple cloud service components, the closeness of the calling relationships between the cloud service components contained in each community is greater than or equal to a preset closeness, and the closeness between the cloud service components in any one of the multiple communities and the cloud service components in other communities from the multiple communities is less than the preset closeness; the creation module is used to create a second community if a target component in a first community from the multiple communities meets a first preset condition, the second community being the same as the first community and being used to share part of the load of the first community; the first preset condition is used to indicate that the performance of the target component is lower than a preset performance, the first community being any one of the multiple communities; the target component is at least one component from the multiple cloud service components in the first community.
[0032] In one possible implementation, the above-mentioned calling relationship includes one or more of the following: calling information of multiple cloud service components in the cloud platform, calling frequency of the link between any two cloud service components in the multiple cloud service components in the cloud platform, and out-degree and in-degree of any cloud service component in the multiple cloud service components in the cloud platform; wherein the calling information includes: when the first component is the main calling component, the identifier of the cloud service component called by the first component; and when the first component is the called component, the identifier of the cloud service component that calls the first component; the first component is any cloud service component among the multiple cloud service components in the cloud platform.
[0033] In a possible implementation, the division module is configured to divide multiple cloud service components into multiple communities based on a community discovery algorithm and call relationships.
[0034] In a possible implementation, the target component includes: a cloud service component that meets the second preset condition among multiple cloud service components in the first community, or at least one cloud service component specified by the user among multiple cloud service components in the first community.
[0035] In one possible implementation, the second preset condition includes: the top X cloud service components with the largest popularity values among multiple cloud service components in the first community; the popularity value is the sum of the cloud service component out-degree and the cloud service component in-degree, where X is an integer greater than 0.
[0036] In a possible implementation, the creation module is configured to create the second community if a first target feature of the target component satisfies the first preset condition, where the first target feature is at least one feature specified by a user among multiple features of the target component.
[0037] In a possible implementation, the first target feature includes at least one of a processor CPU usage, a memory usage, and an I / O throughput.
[0038] In one possible implementation, when the first target characteristic includes CPU usage, the first preset condition includes: the CPU usage is greater than the preset CPU usage; when the first target characteristic includes memory usage, the first preset condition includes: the memory usage is greater than the preset memory usage; when the first target characteristic includes I / O throughput, the first preset condition includes: the I / O throughput is greater than the preset I / O throughput.
[0039] In one possible implementation, the management device further includes: an acquisition module and a determination module; the acquisition module is used to obtain the modularity of the first community and each other community in the plurality of communities except the first community, where the modularity is a value used to describe the closeness of the calling relationship between communities; the determination module is used to determine whether a target community exists in the other communities based on the modularity; the target community is a community in the other communities whose modularity with the first community is greater than a threshold; and the creation module is used to create the second community when the target community does not exist in the other communities.
[0040] In one possible implementation, the above-mentioned creation module is used to create a second community combination when the target community exists in the other communities; the second community combination is the same as the first community combination including the first community and the target community, the second community combination includes the second community and a third community, the third community is the same as the target community, and the second community combination is used to share part of the load of the first community combination.
[0041] In one possible implementation, the above-mentioned determination module is used to determine hotspots and hot links based on the calling relationship between cloud service components in the first community if the target component does not meet the first preset condition; the hotspot is a cloud service component with a higher calling frequency among multiple cloud service components in the first community, and the hot link is a link with a higher calling frequency between multiple cloud service components; the above-mentioned determination module is also used to process hotspots and hot links according to a preset reduction strategy; the preset reduction strategy is used to ensure that the processed hotspots and hot links meet the requirements of their respective current loads.
[0042] In one possible implementation, the hot spots are the top N cloud service components with the highest heat values among the multiple cloud service components included in the first community; the heat value is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component, and N is an integer greater than 0; the hot links are the top M links with the highest call frequency among the multiple links between the multiple cloud service components included in the first community; and M is an integer greater than 0.
[0043] In one possible implementation, the above-mentioned determination module is used to determine the target hotspot reduction strategy from the first target correspondence relationship based on the identifier of the community where the hotspot is located and the second target feature of the hotspot; the first target correspondence relationship includes the correspondence between the identifiers of multiple communities, multiple third preset conditions and multiple hotspot reduction strategies; the second target feature is a feature pre-specified by the user among the multiple features of the hotspot; the third preset condition is used to determine whether to expand the hotspot; the determination module is also used to process the hotspot according to the target hotspot reduction strategy.
[0044] In a possible implementation, the hotspot reduction strategy includes: reset expansion, and / or horizontal expansion.
[0045] In one possible implementation, the above-mentioned determination module is used to determine the target hot link reduction strategy from the second target correspondence relationship based on the third target feature of the hot link; the second target correspondence relationship includes the correspondence between multiple fourth preset conditions and multiple hot link reduction strategies; the third target feature is a feature pre-specified by the user among the multiple features of the hot link; the determination module is also used to process the hot link according to the target hot link reduction strategy.
[0046] In a possible implementation, the hot link reduction strategy includes: horizontal expansion and / or vertical expansion.
[0047] In one possible implementation, the above-mentioned determination module is used to determine the target type template from multiple preset type templates based on the distribution characteristics of hotspots and hot links; the distribution characteristics are used to characterize the location information of hotspots and hot links in space; the target type template is the type template with the highest matching degree with the distribution characteristics among multiple preset type templates; the determination module is also used to determine the target reduction strategy corresponding to the target type template from the correspondence between multiple type templates and multiple reduction strategies; and process the hotspots and hot links according to the target reduction strategy.
[0048] In a third aspect, the present application provides a computing device cluster comprising at least one computing device, each computing device comprising a processor and a memory; the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method described in the first aspect and any one of its possible implementations.
[0049] In a fourth aspect, the present application provides a computer-readable storage medium having computer instructions stored thereon. When the computer instructions are executed on a computing device, the computing device executes the method described in the first aspect above and any one of its possible implementations.
[0050] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect and any one of its possible implementations.
[0051] It should be understood that the beneficial effects achieved by the technical solutions of the second to fifth aspects of this application and the corresponding possible implementation methods can be referred to the technical effects of the first aspect and its corresponding possible implementation methods mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] FIG1 is a schematic diagram of a cloud platform system provided in an embodiment of the present application;
[0053] FIG2 is a flowchart of a cloud platform management method according to an embodiment of the present application;
[0054] FIG3 is a schematic diagram of a call relationship diagram provided in an embodiment of the present application;
[0055] FIG4 is a second diagram of a call relationship diagram provided in an embodiment of the present application;
[0056] FIG5 is a second flow chart of a cloud platform management method provided in an embodiment of the present application;
[0057] FIG6 is a third flow chart of a cloud platform management method provided in an embodiment of the present application;
[0058] FIG7 is a schematic diagram of determining hot spots and hot links according to an embodiment of the present application;
[0059] FIG8 is a fourth flow chart of a cloud platform management method provided in an embodiment of the present application;
[0060] FIG9 is a fifth flow chart of a cloud platform management method provided in an embodiment of the present application;
[0061] FIG10 is a schematic diagram of a type of template provided in an embodiment of the present application;
[0062] FIG11 is a schematic diagram of the structure of a management device provided in an embodiment of the present application;
[0063] FIG12 is a schematic diagram of a computing device cluster provided in an embodiment of the present application;
[0064] FIG13 is a schematic diagram of a network connection provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0066] In the description and claims of the embodiments of this application, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order of objects. For example, "first community" and "second community" are used to distinguish different transmission beams, rather than to describe a specific order of communities.
[0067] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0068] In the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. For example, "multiple processing units" means two or more processing units; "multiple systems" means two or more systems.
[0069] First, some concepts involved in a cloud platform management method, device, program product and storage medium provided in an embodiment of the present application are explained.
[0070] Cloud service component: also known as cloud component or component. A cloud service includes multiple cloud service components, which provide all the services in the cloud service. That is, each cloud service component provides a sub-service to the cloud service. For example, suppose cloud service A is used to provide data storage services. Cloud service A includes a data cache component and a data persistence component. The data cache component is used to provide services for caching data to be persisted, and the data persistence component is used to provide persistence services for cached data. At this time, the services provided by the data cache component and the services provided by the data persistence component together constitute cloud service A.
[0071] When the cloud service component is a MySQL component, the cloud service component is used to provide MySQL database services.
[0072] Out-degree and in-degree: In a directed graph, arrows are directed from one vertex to another. Thus, the number of arrows pointing to each vertex is its in-degree. The number of arrows pointing out of the vertex is its out-degree. In other words, the in-degree of a cloud service component is the number of times data is sent to it or the number of times it is called per unit time. The out-degree of a cloud service component is the number of times it sends data to other cloud service components or calls other cloud service components per unit time.
[0073] Modularity: also known as modularity metric, is a commonly used method to measure the strength of network community structure. In other words, modularity is a value that measures the closeness of a community.
[0074] Vertical expansion: refers to enhancing the hardware performance of a single machine, for example: increasing the number of CPU cores to 32 cores, upgrading to a better network card to 10 Gigabit, upgrading to a better hard drive to an SSD, expanding the hard drive capacity to 2TB, and expanding the system memory to 128GB.
[0075] Horizontal expansion: refers to distributing the load by adding more servers or program instances, thereby improving storage and computing capabilities; such as increasing the number of storage devices.
[0076] Horizontal scaling: Adding more components with equivalent functionality in parallel to distribute the load.
[0077] Vertical scaling: is the process of increasing the capacity of a given instance, that is, expanding the ability of a point so that it can handle more requests.
[0078] As major vendors increasingly focus on the ability of cloud platforms or cloud services to handle high loads, a common approach to managing pressure on cloud service components within a cloud platform involves operations personnel monitoring the out-degree and in-degree of each cloud service component within the cloud platform, as well as the data transmission frequency of the links between these components. Based on experience, operations personnel determine whether hotspots or hot links exist within the cloud platform. If hotspots or hot links exist within the cloud platform, operations personnel then scale up these hotspots and hot links based on their experience.
[0079] For example, in a relationship graph consisting of call relationships of multiple cloud service components, cloud service component A and cloud service component B are included; cloud service component B is used to store data sent by cloud service component A; when the operation and maintenance personnel identify cloud service component A as a hotspot, the capacity of cloud service component A is expanded so that cloud service component A can normally process business data under the current load pressure.
[0080] However, when the cloud platform is under heavy load, only the cloud service component A, which is a hotspot, is expanded. Although the processing efficiency of cloud service component A is improved, the load pressure of cloud service component B is increased, thereby making cloud service component B a new hotspot. It can be seen that the above method cannot quickly adjust the load pressure of the cloud platform when the cloud platform is under heavy load, resulting in limited performance of the cloud platform.
[0081] Based on this, an embodiment of the present application provides a cloud platform management method, which divides the multiple cloud service components in the cloud platform into multiple communities including a first community according to the calling relationships between the multiple cloud service components; wherein the calling relationships between the cloud service components within the community are relatively close, and the calling relationships between the communities are relatively close; when the first community meets the preset conditions, a second community identical to the first community is created (such as: cloning the first community to obtain the second community) so that the second community shares part of the load of the first community. Therefore, when the load pressure of the cloud platform is large, by cloning the entire community composed of multiple cloud service components, since the calling relationships between the cloud service components within the entire community are relatively close, load balancing the first community and the second community can quickly adjust the load pressure of the cloud platform, thereby improving the working performance of the cloud platform.
[0082] An embodiment of the present application provides a cloud platform management method, which can be applied to the cloud platform system shown in FIG1 ; the cloud platform system includes: a cloud platform and a management device.
[0083] The cloud platform is used to provide powerful computing services to users. The cloud platform includes N cloud services, and there are dependencies between the N cloud services. One of the N cloud services is used to provide a required service (such as a storage service or a gateway service) to the cloud platform. Each of the cloud services includes X cloud service components, and there may be dependencies between the multiple cloud service components. One of the X cloud service components is used to provide a sub-service to the cloud service.
[0084] It should be noted that the number of cloud service components included in any two cloud services among the above-mentioned N cloud services may be different.
[0085] The management device is used to execute the cloud platform management method provided in the embodiments of the present application, and manage the cloud platform so that when the cloud platform is under a large load, the management device can quickly reduce the load pressure on the clouds in the cloud platform. The management device executing the cloud platform management method provided in the embodiments of the present application is described in S110-S140 below and will not be repeated here.
[0086] It should be understood that the above-mentioned management device can be a cloud server in the cloud platform, or a cloud server independent of the cloud platform. The specific embodiment of the present application does not limit the specific location of the management device.
[0087] It should be noted that the system architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0088] An embodiment of the present application provides a cloud platform management method, which is applied to a management device in the cloud platform system shown in FIG1 ; as shown in FIG2 , the method includes: S110 - S140 .
[0089] S110: The management device obtains the calling relationship between multiple cloud service components in the cloud platform.
[0090] The cloud platform is a cloud platform including multiple cloud service components as shown in FIG1 , and there are mutual calling relationships between the multiple cloud service components.
[0091] The above-mentioned call relationship includes one or more of the following: call information of the above-mentioned multiple cloud service components, call frequency of the link between any two cloud service components in the above-mentioned multiple cloud service components, and out-degree and in-degree of each cloud service component in the above-mentioned multiple cloud service components.
[0092] The call information includes: the identifiers of other cloud service components called by the first component when the first component is the primary calling component; and the identifier of the cloud service component that called the first component when the first component is the called component; the first component is any one of the aforementioned multiple cloud service components. In other words, the call information includes the correspondence between the calling and called ends of the multiple cloud service components. For example, when cloud service component A calls cloud service component B, the calling end is cloud service component A and the called end is cloud service component B, i.e., cloud service component A → cloud service component B.
[0093] The calling frequency of the above link is used to indicate the number of times the link transmits data per unit time.
[0094] For example, the above call relationship can be represented by the call relationship graph shown in Figure 3. Each node in the graph (e.g., ②) represents a cloud service component (e.g., cloud service component 2). Any node in the graph (e.g., node 2 representing cloud service component 2) includes: the identifiers of other cloud service components called when cloud service component 2 is the calling end, such as ②→①; and the identifiers of the calling end cloud service components that call cloud service component 2 when cloud service component 2 is the called end, such as ⑧→②, ⑥→②. It also includes: the call frequency of links between cloud service component 2 and cloud service components with which it has a call relationship, such as the call frequency of link 1 between ② and ⑥; and the out-degree and in-degree of cloud service component 2.
[0095] It should be noted that the specific implementation process of the above S110 can be that the management device collects the above call relationship from the cloud platform through a monitoring service (such as: network management service), or the user pre-imports the above call relationship into the management device, and then the management device directly obtains the call relationship locally; the specific embodiment of the present application does not limit the specific implementation method of the above S110.
[0096] S120: The management device divides the multiple cloud service components into multiple communities according to the calling relationships between the multiple cloud service components in the cloud platform.
[0097] The closeness of the call relationships between cloud service components within any one of the multiple communities is greater than or equal to a preset closeness, and the closeness between a cloud service component in any one of the multiple communities and a cloud service component in another of the multiple communities is less than the preset closeness. In other words, the closeness of the call relationship between any two of the multiple communities is less than the preset closeness. The closeness of the call relationship is used to represent the call frequency between two cloud service components. In other words, cloud service components with a higher degree of call closeness among the multiple cloud service components are grouped into one community, and cloud service components with a lower degree of call closeness among the multiple cloud service components are grouped into different communities.
[0098] The specific implementation method of the above-mentioned S120 can be that the management device divides the above-mentioned multiple cloud service components into multiple communities based on the community discovery algorithm and the calling relationship between the above-mentioned multiple cloud service components; or the management device divides the above-mentioned multiple cloud service components into multiple communities based on a preset training model. The specific implementation method of the above-mentioned S120 is not limited in the embodiments of the present application.
[0099] It should be noted that when the management device in S120 divides the above-mentioned multiple cloud service components into multiple communities based on the community discovery algorithm, its specific implementation method includes: treating each of the multiple cloud service components as an independent community; then, based on the following formula (1), calculating the modularity Q of each of the multiple communities; when it is necessary to determine whether to divide community A and community B into one community, calculating the modularity Q of community C obtained by dividing community A and community B into one community; when the difference between the modularity Q of community C and the modularity Q of community A is greater than 0, dividing community A and community B into one community; when the difference between the modularity Q of community C and the modularity Q of community A is less than or equal to 0, not dividing community A and community B into one community. This process is repeated until the modularity Q of any two communities (such as community 1 and community 2) in the multiple communities obtained by division (such as community 3) is greater than the modularity Q of community 1 and the modularity Q of community 2.
[0100] Among them, m is the sum of the weights of all edges in the call network corresponding to the above call relationship; ∑in is the sum of the weights of all edges between nodes within community A; ∑tot is the sum of the weights of all edges connected to nodes in community A, that is, ∑tot is the sum of the weights of all edges within community A (abbreviated as: the weights of internal edges of community A) and the weights of all edges between nodes in other communities and nodes in community A (abbreviated as: the weights of external edges of community A).
[0101] It should be noted that the number of edges between one node and another node is used to represent the number of calls between the one node and the other node in a unit time.
[0102] For example, assuming that the call network corresponding to the above call relationship is as shown in Figure 3, based on the community discovery algorithm, the call network is divided into three communities, as shown in Figure 4, where nodes 6-10 are divided into the first community, nodes 1-5 are divided into the second community, and nodes 11-15 are divided into the third community; wherein, the edge connection density between multiple nodes in any one of the three communities is high, and the edge connection density between any two communities is low.
[0103] S130: The management device determines whether the target component in the first community meets a first preset condition.
[0104] It should be understood that the first community is any one of the multiple communities mentioned above, and the first community includes multiple cloud service components.
[0105] It should be noted that the greater the load of the first community, the lower the performance of the target component in the first community; based on this, the first preset condition is used to indicate that the performance of the target component is lower than the preset performance.
[0106] In one implementation, the target component may be a cloud service component that satisfies a second preset condition among multiple cloud service components in the first community. The second preset condition includes: the top X cloud service components with the highest popularity among the multiple cloud service components in the first community, or the top M cloud service components with the lowest popularity among the multiple cloud service components in the first community. The popularity of a cloud service component is the sum of the out-degree and the in-degree of the cloud service component, where X and M are both integers greater than 0. That is, the management device calculates the popularity of all cloud service components in the first community and sorts them by popularity. Then, the top X cloud service components with the highest popularity are determined as target components, or the top M cloud service components with the lowest popularity are determined as target components.
[0107] For example, assume that the first community includes five cloud service components, namely cloud service component A to cloud service component E; the popularity values of the five cloud service components are ranked from large to small as follows: cloud service component B, cloud service component C, cloud service component E, cloud service component D and cloud service component A; and assume that the second preset condition includes: the top two cloud service components with the largest popularity values among multiple cloud service components in the first community; then, the above-mentioned target components are cloud service component B and cloud service component C.
[0108] In another implementation, the target component is at least one cloud service component specified by the user from among a plurality of cloud service components in the first community; that is, the target component is pre-specified by the user in the first community.
[0109] It should be noted that the first preset condition is used to determine whether the overall performance of the first community has reached an upper limit.
[0110] The specific implementation of the above S130 includes: when the management device determines that the first target feature of the above target component meets the above first preset condition; wherein the first target feature is at least one feature specified by the user among multiple features of the above target component.
[0111] In one embodiment, the first target characteristic includes at least one of a processor (central processing unit, CPU) usage, a memory usage, and an input / output (I / O) throughput.
[0112] When the first target feature includes CPU usage, the first preset condition includes: the CPU usage is greater than a preset CPU usage (ie, a preset first CPU usage). For example, the first preset condition includes the CPU usage being greater than 90%.
[0113] When the first target feature includes memory usage, the first preset condition includes: the memory usage is greater than a preset memory usage (ie, a preset first memory usage); for example, the first preset condition includes the memory usage being greater than 80%.
[0114] When the first target feature includes I / O throughput, the first preset condition includes: the I / O throughput is greater than the preset I / O throughput (ie, the preset first I / O throughput); for example, the first preset condition includes memory usage greater than 500M / s.
[0115] For example, assume that the target component is cloud service component A; the first target feature includes CPU usage, memory usage, and I / O throughput; then, the first preset condition includes: CPU usage greater than the preset first CPU usage, memory usage greater than the preset first memory usage, and I / O throughput greater than the preset first I / O throughput. At this point, assume that the preset first CPU usage is 90%, the preset first memory usage is 80%, and the preset first I / O throughput is 500M / s; cloud service component A's current CPU usage is 80%, cloud service component A's current memory usage is 91%, and cloud service component A's current I / O throughput is 600M / s; then, because cloud service component A's current CPU usage of 80% is less than the preset first CPU usage of 90%, the target component in the first community does not meet the first preset condition.
[0116] When the first community does not meet the first preset condition, it indicates that the current load pressure of the first community is relatively small, so that the overall performance of the first community is higher than the performance lower limit of the community, and therefore the management device ends the current method.
[0117] When the target component in the first community meets the first preset condition, the management device executes the following S140 .
[0118] S140: The management device creates a second community.
[0119] The calling relationships between the cloud service components included in the above-mentioned second community are the same as the calling relationships between the cloud service components included in the above-mentioned first community. In other words, the above-mentioned second community is the same as the above-mentioned first community, that is, the second community and the first community are the same community.
[0120] The implementation of S140 is to obtain the second community by cloning the first community. Specifically, the management device obtains the orchestration template of the first community, which includes information such as component resource types, relationships between component resources, and the aforementioned call relationships. The component resource types include resource types (such as storage resources or computing resources) required by each of the multiple cloud service components in the first community. The relationships between component resources indicate the relationships (such as dependencies) between the resources required by each of the multiple cloud service components in the first community. The management device then deploys a cloned community consistent with the first community, i.e., the second community, based on the orchestration template.
[0121] It should be noted that the above-mentioned orchestration template can be obtained by the management device after executing the above-mentioned S120, including information such as the component resource types, the relationships between component resources, and the above-mentioned call relationships of the first community; and stored locally as the orchestration template; the above-mentioned orchestration template can also be obtained directly from the first community by the management device when executing the above-mentioned S140; wherein the format of the above-mentioned orchestration template is generally JS object notation (JSON) format or extensible markup language (XML) format. Specifically, the embodiments of the present application do not specifically limit the method for obtaining the above-mentioned orchestration template.
[0122] It should be noted that the above-mentioned second community is used to share part of the load of the first community; the second community can be specifically used to share part of the load of some cloud service components in the first community, or the second community can be specifically used to share part of the load of all cloud service components in the first community; the specific details are determined by the calling relationship and load balancing strategy within the first community.
[0123] It should be understood that the second community is identical to the first community. Based on the load balancing strategy, the second community is used to share part of the load of the first community. For example, assuming the load balancing strategy is a round-robin strategy, the second community will share half of the load of the first community.
[0124] For example, assume that the first community includes: cloud service component A and cloud service component C; cloud service component A calls cloud service component B; cloud service component B calls cloud service component C; that is, cloud service component A → cloud service component B → cloud service component C. In this case, if cloud service component D outside the first community (such as the third community) calls cloud service component B, since cloud service component B calls cloud service component C but does not call cloud service component A, in this scenario, when cloud service component D sends multiple sets of data to cloud service component B, cloud service component B' and cloud service component C' in the second community share part of the load of cloud service component B and cloud service component C based on the load balancing strategy.
[0125] As another example, based on the above example, the first community includes: cloud service component A → cloud service component B → cloud service component C. In this case, when cloud service component D outside the first community (such as a third community) calls cloud service component A, cloud service component A calls cloud service component B, and cloud service component B calls cloud service component C. Therefore, in this scenario, when cloud service component D sends multiple sets of data to cloud service component A, based on the load balancing strategy, cloud service group A', cloud service component B', and cloud service component C' in the second community share part of the load of cloud service group A, cloud service component B, and cloud service component C in the first community.
[0126] In one embodiment, when the overall performance of the first community and the second community is lower than the user-preset conditions, the management device releases the first community or the second community, thereby saving available resources in the cloud platform; the specific method of releasing the first community or the second community is referred to the existing technology and will not be repeated here.
[0127] Based on this, an embodiment of the present application provides a cloud platform management method, which divides the multiple cloud service components in the cloud platform into multiple communities including a first community according to the calling relationships between the multiple cloud service components; wherein the calling relationships between the cloud service components within the community are relatively close, and the calling relationships between the communities are relatively close; when the first community meets the preset conditions, a second community identical to the first community is created (such as: cloning the first community to obtain the second community) so that the second community shares part of the load of the first community. Therefore, when the load pressure of the cloud platform is large, by cloning the entire community composed of multiple cloud service components, since the calling relationships between the cloud service components within the entire community are relatively close, load balancing the first community and the second community can quickly adjust the load pressure of the cloud platform, thereby improving the working performance of the cloud platform.
[0128] It should be noted that there is a calling relationship between communities. When the calling relationship between one community (such as the first community) and another community is close, only expanding the capacity of the first community may cause the other community to have excessive load pressure, thereby making the load pressure reduction effect of the entire cloud platform poor.
[0129] Based on this, in one embodiment, in combination with FIG. 2 , as shown in FIG. 5 , the specific implementation of the above S140 further includes: S141 - S144 .
[0130] S141: The management device obtains the modularity of a first community and each of the multiple communities except the first community.
[0131] Modularity is a value used to describe the closeness of the calling relationship between a cloud service component in one community and a cloud service component in another community; that is, modularity is a value used to describe the closeness of the calling relationship between communities.
[0132] It should be noted that the specific implementation of the above S141 can be that the management device saves the modularity of any one of the multiple communities with respect to the other communities after executing the above S120, and directly obtains the modules of the first community and the other communities from the local area when the management device executes the above S141; the specific implementation of the above S141 can also be that the management device calculates the modularity of the first community with respect to the other communities according to the above formula (1); the specific embodiment of the present application does not limit the specific implementation method of the above S141.
[0133] It should be noted that when the specific implementation of the above S141 is that the management device calculates the modularity of the first community and other communities according to the above formula (1), the specific calculation process refers to the relevant description of the above S120 and will not be repeated here.
[0134] S142: The management device determines whether a target community exists in other communities based on the modularity between the first community and other communities.
[0135] The target community is a community among the other communities whose modularity with the first community is greater than a threshold, that is, the closeness of the calling relationship between the target community and the first community is greater than a threshold; in other words, the target community is a community among the other communities whose calling relationship with the first community is relatively close.
[0136] For example, assume that the above-mentioned multiple communities include four communities, namely the first community to the fourth community; among them, the modularity between the first community and the second community is 0.6; the modularity between the first community and the third community is 0.2; the modularity between the first community and the fourth community is 0.3; the threshold is 0.55; at this time, the modularity of 0.6 between the first community and the second community is greater than the threshold of 0.55, so the second community is determined as the target community.
[0137] When the target community does not exist in the other communities, the following S143 is executed.
[0138] When the target community exists in the other communities, the following S144 is executed.
[0139] S143: The management device creates a second community.
[0140] It should be noted that the implementation method of the above S143 is consistent with the implementation method of S140. For the specific description of S143, please refer to the above description of S140, which will not be repeated here.
[0141] S144: The management device creates a second community combination.
[0142] The specific implementation of the above S144 includes: obtaining a second community combination by cloning a first community combination including the first community and the target community.
[0143] The second community combination is the same as the first community combination including the first community and the target community. That is, the second community combination is a clone of the first community combination.
[0144] The second community combination includes the second community and the third community, wherein the second community is a clone of the first community; and the third community is a clone of the target community. In other words, the specific implementation of S144 is to clone the first community and the target community as a whole community to obtain the second community combination.
[0145] It should be understood that the calling relationship between the second community and the third community in the second community combination is consistent with the calling relationship between the first community and the target community in the first community combination.
[0146] It should be noted that the above-mentioned second community combination is used to share part of the load of the first community combination, wherein the second community combination can be specifically used to share part of the load of some cloud service components in the first community combination, and can also be used to share part of the load of all cloud service components in the first community combination; the specific sharing method is similar to the sharing method in the above-mentioned S140, please refer to the relevant description in S140 for details, and will not be repeated here.
[0147] It should be noted that the implementation method of the above S144 is similar to the implementation method of S140. For the specific description of S144, please refer to the above description of S140, which will not be repeated here.
[0148] In an embodiment of the present application, it is determined whether there is a target community among multiple communities whose modularity with the first community is greater than a threshold. When the target community exists (i.e., there is a community with a close calling relationship with the first community), the first community and the target community are treated as a whole community (i.e., a first community combination), and a second community combination identical to the first community combination is created, including the second community and the third community. This second community combination is used to share the load of the first community combination, thereby resolving the problem of excessive load pressure on the target community caused by expanding only the first community, and further improving the ability to reduce the load pressure on the cloud platform.
[0149] It should be noted that the above S130-S140 is to expand the capacity at the community level (i.e., expand the capacity by cloning the community) when the target component in the first community meets the first preset condition; and when the target component in the first community does not meet the first preset condition, there may be at least one cloud service component and link load problem in the first community, which may cause the entire cloud platform to crash in severe cases.
[0150] Based on this, in one embodiment, when the management device determines in the above S130 that the target component in the first community does not meet the first preset condition, the above method, as shown in FIG6 , further includes: S210 - S220.
[0151] S210: The management device determines hot spots and hot links according to the calling relationships between cloud service components in the first community.
[0152] The hotspots are cloud service components with a high call frequency (i.e., heat value) among the multiple cloud service components in the first community. The heat value of a cloud service component is the sum of its out-degree and its in-degree. The hot links are links with a high call frequency among the multiple cloud service components in the first community.
[0153] In one example, the hotspots and hot links are determined as follows:
[0154] The hotspot determination formula in the first community is shown in the following formula (2).
[0155] Wherein, Node is the hotspot; max indicates the maximum value; rij indicates the number of times node i (i.e., cloud service component i) calls node j; and x is the total number of nodes (i.e., cloud service components) in the first community.
[0156] The hot link is a link with a high call frequency between multiple cloud service components in the first community; wherein, the formula for determining the hot link is shown in the following formula (3).
[0157] Where Link is the hot link; max indicates the maximum value; rij indicates the number of times node i calls node j, that is, the call frequency of the link used when node i calls node j; and x is the total number of nodes in the first community.
[0158] For example, in the matrix data corresponding to the first community shown in FIG7 , rij(x) indicates that the number of times node i calls node j is x; the first community includes 5 nodes, wherein each node represents a cloud service component. The call data of the 5 nodes specifically include {r11(2), r12(1), r13(2), r14(2), r15(2)}, {r21(1), r22(1), r23(5), r24(3), r25(8)}, {r31(3), r32(4), r33(0), r34(2), r35(6)}, {r41(2), r42(1), r43(3), r44(4)}, {r50(2), r51(1), r52(1), r53(2), r54(3), r55(6)}, {r56(2), r57(1), r58(3), r59(4)}, {r60(2), r61(1), r62(1), r63(3), r64(4)}, {r65(2), r66(1), r67(3), r68(4)}, {r69(2), r70(1), r71(2), r72(1), r73(3), r74(4)}, {r75(2), r76(1), r77(2), r78(4)}, {r80(2), r81(1), r82(1), r83(3), r84(4)}, {r85(2), r86(1), r87(3), r88(4)} 44(0), r45(2)} and {r51(7), r52(2), r53(2), r54(9), r55(5)}; based on the above formula (2), the heat values of nodes 1 to 5 are calculated respectively, and the heat values of nodes 1 to 5 are obtained as follows: 22, 26, 27, 24, 43; that is, node 5 with the largest heat value is determined as the hotspot, and the link corresponding to r54 with the highest call frequency is determined as the hot link.
[0159] In another example, the specific implementation method of the above S210 includes: S1-S3.
[0160] S1. A management device obtains the popularity values of multiple cloud service components in a first community and the call frequencies of multiple links between the multiple cloud service components.
[0161] It should be noted that the management device calculates the heat values of the plurality of cloud service components based on the formula (2); and the management device determines the calling frequencies of the plurality of links from the calling relationships of the cloud service components in the first community.
[0162] S2. The management device determines the top N cloud service components with the largest heat values as hotspots.
[0163] The above N is a preset integer greater than 0.
[0164] Exemplarily, based on the example of S210 above, assuming that N is 2, since the heat values of nodes 1 to 5 are 22, 26, 27, 24, and 43 respectively, then the management device determines nodes 5 and 3 as hotspots.
[0165] S3. The management device determines the top M links with the highest call frequencies as hot links.
[0166] The above M is a preset integer greater than 0.
[0167] Exemplarily, based on the example of S210 above, assuming that M is 2, then at this time the management device determines the link corresponding to r54 (abbreviated as: r54) and r15 as hot links.
[0168] It should be noted that after the above-mentioned management device determines the hotspots and hot links in the first community, it can mark the hotspots and hot links in the call network corresponding to the first community, so that when the user views the call network, he can intuitively know the distribution of hotspots and hot links in the first community, thereby improving the user experience.
[0169] S220: The management device processes hot spots and hot links according to a preset mitigation strategy.
[0170] The above-mentioned preset reduction strategy is used to make the processed hot spots and hot links meet the requirements of their respective current loads; that is, the above-mentioned preset reduction strategy is a method for reducing the load pressure of the hot spots and hot links.
[0171] There are two specific implementations of S220, as follows:
[0172] In one implementation, the specific implementation method of the above S220 includes: S220a-S220d, as shown in FIG8 .
[0173] S220a: The management device determines a target hotspot reduction strategy from the first target correspondence relationship according to the identifier of the community where the hotspot is located and the second target feature of the hotspot.
[0174] The second target feature is a feature pre-specified by the user from among the multiple features of the hotspot, such as the second target feature including at least one of CPU usage, memory usage, and I / O throughput.
[0175] It should be understood that the aforementioned second target characteristic is a characteristic pre-specified by the user from among multiple characteristics of the hotspot based on the specific function of the hotspot (i.e., the type of service provided to the cloud platform). For example, if the hotspot is a cloud service component for storing data, the second target characteristic may include storage space usage; or if the hotspot is a cloud service component for data computing, the second target characteristic may include CPU usage.
[0176] It should be noted that the embodiment of the present application is described using the second target feature including: CPU usage, memory usage and I / O throughput as an example, and will not be repeated later.
[0177] The above-mentioned first target correspondence includes the correspondence between the identifiers of multiple communities, multiple third preset conditions and multiple hotspot reduction strategies; wherein, the first target correspondence is shown in Table 1 below, and the identifiers of the multiple communities include: the first community and the second community. The multiple third preset conditions include: "CPU usage > preset second CPU usage, memory usage > preset second memory usage, I / O throughput > preset second I / O throughput"; "CPU usage > preset third CPU usage, memory usage > preset third memory usage, I / O throughput > preset third I / O throughput"; "CPU usage > preset fourth CPU usage, I / O throughput > preset fourth I / O throughput". The multiple hotspot reduction strategies include: vertical expansion and horizontal expansion. wherein, the above-mentioned third preset condition is a condition that the above-mentioned second target feature must meet, and the third preset condition is used to determine whether to expand the capacity of the above-mentioned hotspot.
[0178] Table 1
[0179] The above vertical expansion provides concurrency by improving the hardware performance of a single machine, which specifically includes increasing the number of CPUs in the hotspot, and / or increasing the memory capacity in the hotspot (such as adding memory sticks), and / or increasing the data bus of the hotspot.
[0180] The above-mentioned horizontal expansion is achieved by increasing the number of cloud service components represented by the hotspot and reducing the load pressure of the hotspot through load balancing strategy; for example, when the hotspot is cloud service component A, the number of cloud services for component A is increased.
[0181] It should be noted that the specific implementation methods of the above vertical expansion and horizontal expansion refer to the existing technology and will not be repeated here.
[0182] The identifier of the community corresponding to the target hotspot reduction strategy is consistent with the identifier of the first community where the hotspot is located; and the second target feature of the hotspot meets the third preset condition corresponding to the target hotspot reduction strategy.
[0183] For example, assuming that the community where the hotspot is located is identified as the first community, the CPU usage of the hotspot is greater than the preset third CPU usage, the memory usage is greater than the preset third memory usage, and the I / O throughput is greater than the preset third I / O throughput; then, the target hotspot reduction strategy for the hotspot is vertical expansion.
[0184] S220b: The management device processes the hotspot according to the target hotspot reduction strategy.
[0185] Exemplarily, based on the example in S220a above, vertical expansion is performed on the hotspot, specifically including: increasing the number of CPUs of the hotspot, increasing the memory storage capacity of the hotspot, and increasing the number of data buses of the hotspot.
[0186] S220c: The management device determines a target hot link reduction strategy from the second target correspondence according to the third target feature of the hot link.
[0187] The third target feature is a feature pre-specified by the user from among the multiple features of the hot link; for example, the third target feature includes: data transmission success rate and I / O throughput.
[0188] It should be noted that the embodiment of the present application is described using the example where the third target feature includes I / O throughput, which will not be repeated later.
[0189] The fourth preset condition is a condition that the third target feature must meet, and the fourth preset condition is used to determine whether to extend the hot link.
[0190] The above-mentioned second target correspondence includes a correspondence between multiple fourth preset conditions and multiple hot link reduction strategies; as shown in Table 2 below, the multiple fourth preset conditions include: "I / O throughput <600M / s, and I / O throughput ≥400M / s" and "I / O throughput <400M / s"; the multiple hot link reduction strategies include horizontal expansion and vertical expansion.
[0191] Table 2
[0192] The horizontal expansion may specifically be to increase the number of links so that a portion of the load of the hot link is shared by the increased links.
[0193] The vertical expansion may specifically be to increase the bandwidth of the hot link so as to increase the amount of data that can be transmitted.
[0194] The specific implementation of the above S220c includes: the management device determines the hot link reduction strategy corresponding to the fourth preset condition satisfied by the third target feature of the hot link as the target hot link reduction strategy.
[0195] For example, assuming that the I / O throughput of the current hot link is 550M / s, the hot link reduction strategy (i.e., horizontal expansion) corresponding to the fourth preset condition including I / O throughput <600M / s and I / O throughput ≥400M / s is determined as the target hot link reduction strategy.
[0196] S220d: The management device processes the hot link according to the target hot link reduction policy.
[0197] Illustratively, based on the example in S220c above, the target hot link reduction strategy is horizontal expansion, and then increasing the number of the hot links so that the increased links share part of the load of the hot link.
[0198] In the above embodiment, when the target component in the first community does not meet the first preset condition, the hotspot and hot links in the first community are determined; then, based on the community where the hotspot is located and the third preset condition satisfied by the second target feature of the hotspot, a target hotspot reduction strategy is determined, and the hotspot is processed based on the target hotspot reduction strategy, thereby reducing the load pressure of the hotspot. Similarly, the management device determines the hot link reduction strategy corresponding to the fourth preset condition satisfied by the third target feature of the hot link as the target hot link reduction strategy, and processes the hot link according to the target hot link reduction strategy to reduce the load pressure of the processed hot link, thereby solving the problem of cloud platform downtime caused by the presence of at least one cloud service component and a large link load in the first community.
[0199] In another implementation, the specific implementation method of the above S220 includes: S220A-S220C, as shown in FIG9 .
[0200] S220A: The management device determines a target type template from a plurality of preset type templates according to distribution characteristics of hot spots and hot links.
[0201] The distribution characteristics of the hot spots and hot links are used to characterize the location information of the hot spots and hot links in the space of the first community; that is, the distribution characteristics are used to indicate the location information of the hot spots and hot links in the first community.
[0202] The nodes and links in any two of the plurality of preset type templates have different characteristics, and the target type template is the type template with the highest matching degree with the distribution characteristics of hot spots and hot links among the plurality of preset type templates.
[0203] The specific implementation method of the above S220A includes: the management device calculates the matching degree with each preset type template according to the distribution characteristics of the hotspots and hot links; then, the management device determines the template type with the highest matching degree as the target type template.
[0204] It should be noted that the above-mentioned management device can calculate the matching degree of the distribution characteristics of hotspots and hot links with each preset type template based on the training model; the above-mentioned management device can also calculate the matching degree of the distribution characteristics of hotspots and hot links with each preset type template based on other existing algorithms. Specifically, the embodiment of this application does not limit the specific implementation method of the above-mentioned S220A.
[0205] S220B: The management device determines a target reduction policy corresponding to the target type template from the correspondence between the multiple type templates and the multiple reduction policies.
[0206] The above-mentioned multiple types of templates include different types of templates, such as centralized templates and distributed templates.
[0207] The above correspondence is shown in Table 3 below. The above multiple type templates include: type template 1, type template 2, and type template 3; the above multiple reduction strategies include: expansion hotspot, expansion hotspot and expansion hot link, and expansion hot link.
[0208] Table 3
[0209] It should be noted that the specific method of expanding the above-mentioned hotspots can be vertical expansion or horizontal expansion; the specific method of expanding the above-mentioned hot links can be longitudinal expansion or transverse expansion. The specific embodiments of this application do not limit the specific methods of expanding the above-mentioned hotspots and expanding the hot links.
[0210] Exemplarily, type template 1 in the above Table 1 is the centralized template in Figure 10, type template 2 is the link template in Figure 10, and type template 3 is the distributed template in Figure 10; when the above target type template is a centralized template, the expansion hotspot is determined as the target reduction strategy.
[0211] S220C, the management device processes hot spots and hot links according to the target mitigation strategy.
[0212] In the above embodiment, when the target component in the first community does not meet the first preset condition, the hotspots and hot links in the first community are determined; then, the management device determines the target type template from multiple preset type templates based on the distribution characteristics of the hotspots and hot links, and processes the hotspots and hot links according to the target reduction strategy corresponding to the target type template, so that the load pressure of the processed hotspots and hot links is reduced, thereby solving the problem of cloud platform downtime caused by the existence of at least one cloud service component and link load being heavy in the first community.
[0213] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of method. In order to realize the above functions, the management device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0214] In the embodiment of the present application, the management device can be divided into functional modules according to the above method. For example, the management device can include functional modules corresponding to the functional divisions, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0215] In the case of dividing each functional module into corresponding functional modules, a possible structural diagram of the management device involved in the above embodiment is shown in Figure 11. As shown in Figure 11, the management device includes: a division module 1101 and a creation module 1102.
[0216] The division module 1101 is used to divide the multiple cloud service components in the cloud platform into multiple communities according to the calling relationships between the multiple cloud service components; for example, executing step S120 in the above method embodiment.
[0217] The creation module 1102 is configured to create a second community if the target component in a first community among the multiple communities meets a first preset condition; for example, executing step S140 in the above method embodiment.
[0218] Optionally, the division module 1101 is configured to divide multiple cloud service components into multiple communities based on a community discovery algorithm and call relationships.
[0219] Optionally, the creating module 1102 is configured to create a second community if the first target feature of the target component meets a first preset condition.
[0220] Optionally, the management device further includes: an acquisition module 1103 and a determination module 1104 .
[0221] The acquisition module 1103 is used to acquire the modularity of the first community and each of the multiple communities except the first community; for example, by executing step S141 in the above method embodiment.
[0222] The determination module 1104 is used to determine whether the target community exists in other communities based on the modularity; for example, by executing step S142 in the above method embodiment.
[0223] The creation module 1102 is used to create a second community when the target community does not exist in other communities; for example, executing step S143 in the above method embodiment.
[0224] Optionally, the creating module 1102 is further configured to create a second community combination when the target community exists in other communities; for example, executing step S144 in the above method embodiment.
[0225] Optionally, the determination module 1104 is used to determine hotspots and hot links based on the calling relationship between cloud service components in the first community if the target component does not meet the first preset condition; for example, execute step S210 in the above method embodiment; the determination module 1104 is used to process hotspots and hot links according to a preset mitigation strategy; for example, execute step S220 in the above method embodiment.
[0226] Optionally, the determination module 1104 is configured to determine a target hotspot reduction strategy from the first target correspondence relationship according to the identifier of the community where the hotspot is located and the second target feature of the hotspot; for example, executing step S220a in the above method embodiment.
[0227] The determination module 1104 is configured to process the hotspot according to the target hotspot reduction strategy; for example, executing step S220b in the above method embodiment.
[0228] Optionally, the determination module 1104 is configured to determine a target hot link reduction strategy from the second target correspondence according to the third target feature of the hot link; for example, executing step S220c in the above method embodiment.
[0229] The determination module 1104 is further configured to process the hot link according to the target hot link reduction strategy; for example, executing step S220d in the above method embodiment.
[0230] Optionally, the determination module 1104 is configured to determine a target type template from a plurality of preset type templates according to the distribution characteristics of hot spots and hot links; for example, executing step S220A in the above method embodiment.
[0231] The determination module 1104 is configured to determine a target reduction strategy corresponding to a target type template from the correspondence between multiple type templates and multiple reduction strategies; for example, executing step S220B in the above method embodiment.
[0232] The determination module 1104 is further configured to process hot spots and hot links according to the target mitigation strategy; for example, executing step S220C in the above method embodiment.
[0233] The division module 1101, creation module 1102, acquisition module 1103, and determination module 1104 can all be implemented via software or hardware. For example, the implementation of the division module 1101 will be described below using the division module 1101 as an example. Similarly, the implementation of the creation module 1102, acquisition module 1103, and determination module 1104 can refer to the implementation of the division module 1101.
[0234] As an example of a software functional unit, the partitioning module 1101 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more. For example, the partitioning module 1101 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.
[0235] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.
[0236] As an example of a hardware functional unit, partitioning module 1101 may include at least one computing device, such as a server. Alternatively, partitioning module 1101 may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0237] The multiple computing devices included in partition module 1101 can be distributed in the same region or in different regions. The multiple computing devices included in partition module 1101 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in partition module 1101 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.
[0238] It should be noted that, in other embodiments, the division module 1101 can be used to execute any step in the above-mentioned cloud platform management method, the creation module 1102 can be used to execute any step in the above-mentioned cloud platform management method, the acquisition module 1103 can be used to execute any step in the above-mentioned cloud platform management method, and the determination module 1104 can be used to execute any step in the above-mentioned cloud platform management method. The steps that the division module 1101, the creation module 1102, the acquisition module 1103 and the determination module 1104 are responsible for implementing can be specified as needed. The division module 1101, the creation module 1102, the acquisition module 1103 and the determination module 1104 respectively implement different steps in the above-mentioned cloud platform management method to realize all the functions of the management device.
[0239] Embodiments of the present application also provide a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0240] As shown in Figure 12, the computing device cluster includes at least one computing device 100. The memory 106 of one or more computing devices 100 in the computing device cluster may store the same instructions for executing the above-mentioned cloud platform management method.
[0241] In some possible implementations, the memory 106 of one or more computing devices 100 in the computing device cluster may also store partial instructions for executing the aforementioned cloud platform management method. In other words, the combination of one or more computing devices 100 can jointly execute instructions for executing the aforementioned cloud platform management method.
[0242] It should be noted that the memory 106 in different computing devices 100 in the computing device cluster can store different instructions, each for executing a portion of the functions of the management device. In other words, the instructions stored in the memory 106 in different computing devices 100 can implement the functions of one or more of the partitioning module 1101, the creation module 1102, the acquisition module 1103, and the determination module 1104.
[0243] In some possible implementations, one or more computing devices in a computing device cluster may be connected via a network. The network may be a wide area network or a local area network, etc. FIG13 shows a possible implementation. As shown in FIG13 , two computing devices 100A and 100B are connected via a network. Specifically, the connection to the network is made via a communication interface in each computing device. In this type of possible implementation, the memory 106 in the computing device 100A stores instructions for executing the functions of the partitioning module 1101 and the creation module 1102. At the same time, the memory 106 in the computing device 100B stores instructions for executing the functions of the acquisition module 1103 and the determination module 1104.
[0244] The connection method between the computing device clusters shown in Figure 13 can be considered to be that the management method of the cloud platform provided in this application needs to obtain the modularity of the first community and other communities in multiple communities except the first community, and determine the target community from the other communities. Therefore, it is considered to entrust the functions implemented by the acquisition module 1103 and the determination module 1104 to be executed by the computing device 100B.
[0245] It should be understood that the functions of the computing device 100A shown in FIG13 may also be completed by multiple computing devices 100. Similarly, the functions of the computing device 100B may also be completed by multiple computing devices 100.
[0246] The present application also provides another computing device cluster. The connection relationship between the computing devices in this computing device cluster can be similar to the connection method of the computing device cluster described in Figures 4 and 5. However, the memory 106 of one or more computing devices 100 in this computing device cluster can store the same instructions for executing the cloud platform management method.
[0247] In some possible implementations, the memory 106 of one or more computing devices 100 in the computing device cluster may also store partial instructions for executing the cloud platform management method. In other words, the combination of one or more computing devices 100 can jointly execute the instructions for executing the cloud platform management method.
[0248] The present application also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be run on a computing device or stored on any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the cloud platform management method.
[0249] The present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the cloud platform management method.
[0250] 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 protection scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A cloud platform management method, characterized in that: include: According to the calling relationships among the multiple cloud service components in the cloud platform, the multiple cloud service components are divided into multiple communities; wherein each community includes at least two cloud service components among the multiple cloud service components, the closeness of the calling relationships among the cloud service components included in each community is greater than or equal to a preset closeness, and the closeness between the cloud service components in any one of the multiple communities and the cloud service components in other communities among the multiple communities is less than the preset closeness; If a target component in a first community among the multiple communities meets a first preset condition, a second community is created, the second community is the same as the first community, and the second community is used to share part of the load of the first community; the first preset condition is used to indicate that the performance of the target component is lower than a preset performance, and the first community is any one of the multiple communities; the target component is at least one component among the multiple cloud service components in the first community.
2. The method according to claim 1, characterized in that The calling relationship includes one or more of the following: The calling information of the multiple cloud service components in the cloud platform, the calling frequency of the link between any two cloud service components in the cloud platform, and the out-degree and in-degree of any one of the multiple cloud service components in the cloud platform.
3. The method according to claim 1 or 2, characterized in that: According to the calling relationship between the multiple cloud service components in the cloud platform, the multiple cloud service components are divided into multiple communities, including: Based on a community discovery algorithm and the calling relationship, the plurality of cloud service components are divided into the plurality of communities.
4. The method according to any one of claims 1 to 3, characterized in that: The target component includes: a cloud service component that meets a second preset condition among the plurality of cloud service components in the first community, or at least one cloud service component designated by a user among the plurality of cloud service components in the first community.
5. The method according to claim 4, characterized in that The second preset condition includes: the first X cloud service components with the largest heat value among the multiple cloud service components in the first community; the heat value is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component, and X is an integer greater than 0.
6. The method according to any one of claims 1 to 5, characterized in that: If the target component in the first community among the multiple communities meets the first preset condition, creating a second community includes: If a first target feature of the target component meets the first preset condition, the second community is created, and the first target feature is at least one feature specified by a user among multiple features of the target component.
7. The method according to claim 6, characterized in that The first target feature includes at least one of a processor CPU usage, a memory usage, and an I / O throughput.
8. The method according to claim 7, characterized in that When the first target feature includes the CPU usage rate, the first preset condition includes: the CPU usage rate is greater than a preset CPU usage rate; When the first target feature includes the memory usage rate, the first preset condition includes: the memory usage rate is greater than a preset memory usage rate; When the first target feature includes the I / O throughput, the first preset condition includes: the I / O throughput is greater than a preset I / O throughput.
9. The method according to any one of claims 1 to 8, characterized in that: The method of creating the second community further includes: Obtaining the modularity of the first community and each of the multiple communities except the first community, where the modularity is a value used to describe the closeness of the calling relationship between communities; According to the modularity, determining whether there is a target community in other communities; the target community is a community among the other communities whose modularity with the first community is greater than a threshold; When the target community does not exist in the other communities, the second community is created.
10. The method according to claim 9, characterized in that The method further comprises: When the target community exists in the other communities, a second community combination is created; the second community combination is the same as the first community combination including the first community and the target community, the second community combination includes the second community and a third community, the third community is the same as the target community, and the second community combination is used to share part of the load of the first community combination.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: If the target component does not meet the first preset condition, a hotspot and a hot link are determined according to the calling relationship between the cloud service components in the first community; the hotspot is a cloud service component with a higher calling frequency among the multiple cloud service components in the first community, and the hot link is a link with a higher calling frequency among the multiple cloud service components; The hotspot and the hot link are processed according to a preset mitigation strategy; the preset mitigation strategy is used to make the processed hotspot and the hot link meet the requirements of their respective current loads.
12. The method according to claim 11, characterized in that The hotspot is the first N cloud service components with the largest heat value among the multiple cloud service components included in the first community; wherein the heat value is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component, and N is an integer greater than 0; The hot links are the first M links with the highest calling frequencies among the multiple links between the multiple cloud service components included in the first community; M is an integer greater than 0.
13. The method according to claim 11 or 12, characterized in that: The processing of the hotspot according to a preset strategy includes: Determine a target hotspot reduction strategy from a first target correspondence relationship according to an identifier of the community where the hotspot is located and a second target feature of the hotspot; the first target correspondence relationship includes a correspondence relationship between identifiers of multiple communities, multiple third preset conditions, and multiple hotspot reduction strategies; the second target feature is a feature pre-specified by a user from multiple features of the hotspot; the third preset condition is used to determine whether to expand the capacity of the hotspot; The hotspot is processed according to the target hotspot reduction strategy.
14. The method according to claim 13, characterized in that The hotspot reduction strategy includes: reset expansion, and / or horizontal expansion.
15. The method according to any one of claims 11 to 14, characterized in that: The processing of the hot link according to the preset strategy includes: Determining a target hot link reduction strategy from a second target correspondence according to the third target feature of the hot link; the second target correspondence includes a correspondence between a plurality of fourth preset conditions and a plurality of hot link reduction strategies; the third target feature is a feature pre-specified by a user from a plurality of features of the hot link; The hot link is processed according to the target hot link reduction strategy.
16. The method according to claim 15, characterized in that The hot link reduction strategy includes: horizontal expansion and / or vertical expansion.
17. The method according to claim 11 or 12, characterized in that: The processing of the hot spots and hot links according to a preset strategy includes: Determine a target type template from a plurality of preset type templates according to the distribution characteristics of the hotspot and the hot link; the distribution characteristics are used to characterize the location information of the hotspot and the hot link in space; the target type template is a type template with the highest matching degree with the distribution characteristics among the plurality of preset type templates; Determining a target reduction strategy corresponding to the target type template from a correspondence between a plurality of type templates and a plurality of reduction strategies; The hot spots and the hot links are processed according to the target mitigation strategy.
18. A management device, characterized in that: The management device comprises: a division module and a creation module; The division module is used to divide the multiple cloud service components in the cloud platform into multiple communities according to the calling relationships between the multiple cloud service components; wherein each community includes at least two cloud service components among the multiple cloud service components, the closeness of the calling relationships between the cloud service components included in each community is greater than or equal to a preset closeness, and the closeness between the cloud service components in any one of the multiple communities and the cloud service components in other communities among the multiple communities is less than the preset closeness; The creation module is used to create a second community if a target component in a first community among the multiple communities meets a first preset condition, the second community being the same as the first community and being used to share part of the load of the first community; the first preset condition is used to indicate that the performance of the target component is lower than a preset performance, the first community is any one of the multiple communities; the target component is at least one component among the multiple cloud service components in the first community.
19. The management device according to claim 18, characterized in that: The calling relationship includes one or more of the following: The calling information of the multiple cloud service components in the cloud platform, the calling frequency of the link between any two cloud service components in the cloud platform, and the out-degree and in-degree of any one of the multiple cloud service components in the cloud platform.
20. The management device according to claim 18 or 19, characterized in that: The division module is used to divide the multiple cloud service components into the multiple communities based on the community discovery algorithm and the call relationship.
21. The management device according to any one of claims 18 to 20, characterized in that: The target component includes: a cloud service component that meets a second preset condition among the plurality of cloud service components in the first community, or at least one cloud service component designated by a user among the plurality of cloud service components in the first community.
22. The management device according to claim 21, characterized in that: The second preset condition includes: the first X cloud service components with the largest heat value among the multiple cloud service components in the first community; the heat value is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component, and X is an integer greater than 0.
23. The management device according to any one of claims 18 to 22, characterized in that: The creation module is used to create the second community if a first target feature of the target component meets the first preset condition, and the first target feature is at least one feature specified by a user among multiple features of the target component.
24. The management device according to claim 23, characterized in that: The first target feature includes at least one of a processor CPU usage, a memory usage, and an I / O throughput.
25. The management device according to claim 24, characterized in that: When the first target feature includes the CPU usage rate, the first preset condition includes: the CPU usage rate is greater than a preset CPU usage rate; When the first target feature includes the memory usage rate, the first preset condition includes: the memory usage rate is greater than a preset memory usage rate; When the first target feature includes the I / O throughput, the first preset condition includes: the I / O throughput is greater than a preset I / O throughput.
26. The management device according to any one of claims 18 to 25, characterized in that: The management device further includes: an acquisition module and a determination module; The acquisition module is used to acquire the modularity between the first community and each of the multiple communities except the first community, where the modularity is a value used to describe the closeness of the calling relationship between communities; The determination module is used to determine whether there is a target community in other communities according to the modularity; the target community is a community among the other communities whose modularity with the first community is greater than a threshold; The creation module is configured to create the second community when the target community does not exist in the other communities.
27. The management device according to claim 26, characterized in that: The creation module is used to create a second community combination when the target community exists in the other communities; the second community combination is the same as the first community combination including the first community and the target community, the second community combination includes the second community and a third community, the third community is the same as the target community, and the second community combination is used to share part of the load of the first community combination.
28. The management device according to any one of claims 18 to 27, characterized in that: The determination module is used to determine a hotspot and a hot link according to the calling relationship between the cloud service components in the first community if the target component does not meet the first preset condition; the hotspot is a cloud service component with a higher calling frequency among the multiple cloud service components in the first community, and the hot link is a link with a higher calling frequency among the multiple cloud service components; The determination module is further used to process the hotspot and the hot link according to a preset mitigation strategy; the preset mitigation strategy is used to make the processed hotspot and the hot link meet the requirements of their respective current loads.
29. The management device according to claim 28, characterized in that: The hotspot is the first N cloud service components with the largest heat value among the multiple cloud service components included in the first community; wherein the heat value is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component, and N is an integer greater than 0; The hot links are the first M links with the highest calling frequencies among the multiple links between the multiple cloud service components included in the first community; M is an integer greater than 0.
30. The management device according to claim 27 or 28, characterized in that: The determination module is used to determine the target hotspot reduction strategy from the first target correspondence relationship according to the identifier of the community where the hotspot is located and the second target feature of the hotspot; the first target correspondence relationship includes the identifiers of multiple communities, the correspondence between multiple third preset conditions and multiple hotspot reduction strategies; the second target feature is a feature pre-specified by the user from multiple features of the hotspot; the third preset condition is used to determine whether to expand the capacity of the hotspot; The determination module is further configured to process the hotspot according to the target hotspot reduction strategy.
31. The management device according to claim 30, characterized in that: The hotspot reduction strategy includes: reset expansion, and / or horizontal expansion.
32. The management device according to any one of claims 28 to 31, characterized in that: The determination module is used to determine a target hot link reduction strategy from a second target correspondence relationship according to a third target feature of the hot link; the second target correspondence relationship includes a correspondence relationship between a plurality of fourth preset conditions and a plurality of hot link reduction strategies; the third target feature is a feature pre-specified by a user from a plurality of features of the hot link; The determination module is further configured to process the hot link according to the target hot link reduction strategy.
33. The management device according to claim 32, characterized in that: The hot link reduction strategy includes: horizontal expansion and / or vertical expansion.
34. The management device according to claim 28 or 29, characterized in that: The determination module is used to determine a target type template from a plurality of preset type templates according to the distribution characteristics of the hotspot and the hot link; the distribution characteristics are used to characterize the location information of the hotspot and the hot link in space; the target type template is a type template with the highest matching degree with the distribution characteristics among the plurality of preset type templates; The determination module is further used to determine the target reduction strategy corresponding to the target type template from the correspondence between multiple type templates and multiple reduction strategies; and process the hotspot and the hot link according to the target reduction strategy.
35. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 17.
36. A computer-readable storage medium, characterized in that: Computer instructions are stored, and when the computer instructions are executed on a computing device, the computing device is caused to perform the method according to any one of claims 1 to 17.
37. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster is caused to perform the method according to any one of claims 1 to 17.
Citation Information
Patent Citations
Cloud platform management method and device, program product and storage medium
CN118900267A
Method for managing a virtual radio access network and method for calibrating a software component
CN109643249A
Micro-service online distribution method and system based on coupling degree
CN112148484A
Data processing method, multi-cloud management system, and related device
US20210084108A1
CN202310492451A
