Cloud platform management method and device, program product and storage medium
By dividing cloud service components into communities and creating cloned communities, the cloud platform load regulation and hotspot hot link processing problems are solved, and performance and reliability are improved.
Patent Information
- Application Number
- CN202310820305.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-04
- Filing Date
- 2023-07-05
- Publication Date
- 2024-11-05
AI Technical Summary
Existing cloud platforms cannot quickly adjust the load pressure when the load pressure is high, resulting in limited performance and inability to effectively handle hot spots and hot links, which may lead to downtime.
By dividing it into multiple communities based on the call relationship between cloud service components, each community has a close call relationship and a low degree of external call relationship. Create a cloned community to share the load and expand it according to hotspots and hot links. and scale to reduce load.
It realizes rapid adjustment of the load pressure of the cloud platform, improves working performance, and avoids downtime problems caused by excessive load.
Smart Images

Figure CN118900267A_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application 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”, all contents of which are incorporated by reference in this application. Technical Field
[0002] The embodiments of the present application relate to the field of cloud computing, and in particular to a management method, device, program product, and storage medium for a cloud platform. Background Art
[0003] Cloud service is a model for increasing, using and delivering related services based on the Internet. The required services are obtained through the network in an on-demand and easily scalable manner; cloud service means that computing power can also be circulated as a commodity through the Internet. Among them, multiple cloud services form a cloud platform, which is used to provide powerful computing services to users; each cloud service can be composed of multiple cloud service components, and there are dependencies and / or associations between the multiple cloud service components.
[0004] As the application scenarios of cloud services continue to increase, customers are paying more and more attention to the processing capabilities of cloud platforms or cloud services under heavy loads. A common method for handling pressure on cloud service components in a cloud platform includes: the operation and maintenance personnel monitor the out-degree and in-degree of each cloud service component in the cloud platform and the data transmission frequency of the links between the cloud service components, and determine whether there are hot spots and hot links in the cloud platform based on experience. When hot spots and hot links exist in the cloud platform, the operation and maintenance personnel expand the capacity of the hot spots and hot links based on 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. Summary of the invention
[0006] 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.
[0007] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:
[0008] In a first aspect, an embodiment of the present application provides a management method for a cloud platform, the method comprising: dividing 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 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 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 the 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.
[0009] Based on this, an embodiment of the present application provides a management method for a cloud platform, which divides the multiple cloud service components into multiple communities including a first community according to the calling relationships between the multiple cloud service components in the cloud platform; 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 (e.g., 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 relatively 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.
[0010] 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 links 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.
[0011] 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.
[0012] In a possible implementation, dividing the multiple cloud service components in the cloud platform into multiple communities according to the calling relationships among 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.
[0013] 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.
[0014] In a possible implementation, the second preset condition includes: the first X cloud service components with the largest heat value among 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.
[0015] In a 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.
[0016] 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.
[0017] 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.
[0018] In a possible implementation, the creating of the second community includes: obtaining the modularity of the first community and each other community among the multiple communities except the first community, the modularity being a value used to describe the closeness of the calling relationship between communities; determining whether a target community exists in the 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; and creating the second community when the target community does not exist in the other communities.
[0019] In a 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, the second community combination includes the second community and the 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.
[0020] The embodiment of the present application determines whether there is a target community whose modularity with the first community is greater than a threshold value among multiple communities. When the target community exists (that is, when there is a community with a high degree of calling relationship with the first community), the first community and the target community are taken as a whole community (that is, the first community combination), and a second community combination including the second community and the third community that is the same as the first community combination is created; the second community combination is used to share the load of the first community combination, thereby solving the problem of excessive load pressure on the target community caused by only expanding the capacity of the first community, and further improving the strength of reducing the load pressure of the cloud platform.
[0021] 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 the hot link 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 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 the hot link according to a preset reduction strategy; the preset reduction strategy is used to make the processed hotspot and hot link meet the requirements of their respective current loads.
[0022] In the above embodiment, when the target component in the first community does not satisfy the first preset condition, the hotspot and hot link 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, so that the load pressure of the processed hot link is reduced, 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.
[0023] In a possible implementation, the hot spots are the top N cloud service components with the largest 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.
[0024] In a possible implementation, the processing of the hotspot according to the preset strategy includes: determining 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 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 a user from multiple features of the hotspot; the third preset condition is used to determine whether to expand the capacity of the hotspot; and processing the hotspot according to the target hotspot reduction strategy.
[0025] In a possible implementation, the hotspot reduction strategy includes: reset expansion, and / or horizontal expansion.
[0026] 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 according to 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 a user from multiple features of the hot link; and processing the hot link according to the target hot link reduction strategy.
[0027] In a possible implementation, the hot link reduction strategy includes: horizontal expansion and / or vertical expansion.
[0028] In a possible implementation, the above-mentioned processing of hotspots and hot links according to preset strategies includes: determining a target type template from multiple preset type templates according to 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.
[0029] 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 according to 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 large in the first community.
[0030] In a second aspect, the present application provides a management device, which includes: a division module and a creation module; the above-mentioned division module is used to divide the multiple cloud service components into multiple communities according to the calling relationship between the multiple cloud service components in the cloud platform; wherein each community includes at least two cloud service components among the multiple cloud service components, the closeness of the calling relationship 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; the above-mentioned 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 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 the 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.
[0031] In one possible implementation, the calling relationship includes one or more of the following: calling information of multiple cloud service components in the cloud platform, calling frequency of links between any two cloud service components in the cloud platform, and out-degree and in-degree of any one of 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 one of the multiple cloud service components in the cloud platform.
[0032] In a possible implementation, the division module is used to divide multiple cloud service components into multiple communities based on a community discovery algorithm and a call relationship.
[0033] 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.
[0034] In a possible implementation, the second preset condition includes: the first X cloud service components with the largest heat values among the multiple cloud service components in the first community; the heat value is the sum of the cloud service component out-degree and the cloud service component in-degree, and X is an integer greater than 0.
[0035] 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, wherein the first target feature is at least one feature specified by a user among multiple features of the target component.
[0036] 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.
[0037] 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.
[0038] In a possible implementation, 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 other communities 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 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; the creation module is used to create the second community when the target community does not exist in other communities.
[0039] In a possible implementation, 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.
[0040] In one possible implementation, the above-mentioned determination module is used to determine the 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 the hotspots 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.
[0041] In a possible implementation, the hot spots are the top N cloud service components with the largest heat values among the multiple cloud service components included in the first community; the heat value is the sum of the cloud service component out-degree and the cloud service component in-degree, 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.
[0042] 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 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 also used to process the hotspot according to the target hotspot reduction strategy.
[0043] In a possible implementation, the hotspot reduction strategy includes: reset expansion, and / or horizontal expansion.
[0044] 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 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.
[0045] In a possible implementation, the hot link reduction strategy includes: horizontal expansion and / or vertical expansion.
[0046] In one possible implementation, the above-mentioned determination module is used to determine the target type template from multiple preset type templates according to 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.
[0047] 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.
[0048] 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.
[0049] 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.
[0050] It should be understood that the beneficial effects achieved by the technical solutions of the second to fifth aspects of the present 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
[0051] Figure 1 A schematic diagram of a cloud platform system provided in an embodiment of the present application;
[0052] Figure 2 A schematic diagram of a cloud platform management method provided in an embodiment of the present application Figure 1 ;
[0053] Figure 3 A schematic diagram of a call relationship diagram provided for an embodiment of the present application;
[0054] Figure 4 A call relationship diagram provided in an embodiment of the present application Figure 2 ;
[0055] Figure 5 A schematic diagram of a cloud platform management method provided in an embodiment of the present application Figure 2 ;
[0056] Figure 6 A schematic diagram of a cloud platform management method provided in an embodiment of the present application Figure 3 ;
[0057] Figure 7 A schematic diagram of determining hot spots and hot links provided in an embodiment of the present application;
[0058] Figure 8 A schematic diagram of a cloud platform management method provided in an embodiment of the present application Figure 4 ;
[0059] Fig. 9 A schematic diagram of a cloud platform management method provided in an embodiment of the present application Figure 5 ;
[0060] Fig.10A schematic diagram of a type of template provided in an embodiment of the present application;
[0061] Fig.11 A schematic diagram of the structure of a management device provided in an embodiment of the present application;
[0062] Fig.12 A schematic diagram of a computing device cluster provided in an embodiment of the present application;
[0063] Fig.13 A network connection diagram provided for an embodiment of the present application. DETAILED DESCRIPTION
[0064] The term "and / or" in this article is merely a description of the association relationship of 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.
[0065] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of the objects. For example, the first community and the second community are used to distinguish different transmission beams rather than to describe a specific order of the communities.
[0066] In the embodiments of the present 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 the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0067] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
[0068] 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.
[0069] Cloud service component: also known as cloud component or component. A cloud service includes multiple cloud service components, which provide all services in the cloud service. That is to say, 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.
[0070] When the cloud service component is a MySQL component, the cloud service component is used to provide MySQL database services.
[0071] Out-degree and in-degree: In a directed graph, arrows have directions, pointing from one vertex to another. In this way, the number of arrows pointing to each vertex is its in-degree. The number of arrows pointing out of this 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 the cloud service component per unit time, or the number of times the cloud service component is called; the out-degree of a cloud service component is the number of times the cloud service component sends data to other cloud service components per unit time, or the number of times other cloud service components are called.
[0072] 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 tightness of a community.
[0073] 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 disk to SSD, expanding the hard disk capacity to 2T, and expanding the system memory to 128G.
[0074] Horizontal expansion: refers to distributing the load by adding more servers or program instances, thereby increasing storage and computing capabilities; such as increasing the number of storage devices.
[0075] Horizontal expansion: adding more components with equivalent functions in parallel to distribute the load.
[0076] 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.
[0077] As major manufacturers pay more and more attention to the processing capabilities of cloud platforms or cloud services under heavy load pressure. A common method for handling pressure on cloud service components in cloud platforms includes: operation and maintenance personnel monitor the out-degree and in-degree of each cloud service component in the cloud platform and the data transmission frequency of the links between the cloud service components, and determine whether there are hot spots and hot links in the cloud platform based on experience. When there are hot spots and hot links in the cloud platform, the operation and maintenance personnel expand the capacity of the hot spots and hot links based on experience.
[0078] Exemplarily, in a relationship graph consisting of call relationships of multiple cloud service components, there are cloud service component A and cloud service component B; cloud service component B is used to store data sent by cloud service component A; when the operation and maintenance personnel determine that cloud service component A is 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.
[0079] 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.
[0080] Based on this, an embodiment of the present application provides a management method for a cloud platform, which divides the multiple cloud service components into multiple communities including a first community according to the calling relationships between the multiple cloud service components in the cloud platform; 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 (e.g., 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 relatively 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.
[0081] The present application embodiment provides a cloud platform management method, which can be applied to Figure 1 The cloud platform system shown; the cloud platform system includes: a cloud platform and management equipment.
[0082] The above-mentioned cloud platform is used to provide powerful computing services to users, wherein the cloud platform includes N cloud services, and there are dependencies between the N cloud services; one cloud service among the N cloud services is used to provide a required service (such as storage service or gateway service) to the cloud platform; each of the above-mentioned cloud services includes X cloud service components, and there may be dependencies between the multiple cloud service components, wherein one cloud service component among the X cloud service components is used to provide a sub-service to the cloud service.
[0083] It should be noted that the number of cloud service components included in any two cloud services among the above N cloud services may be different.
[0084] The above-mentioned management device is used to execute the management method of the cloud platform provided in the embodiment of the present application, and manage the cloud platform so that when the load pressure of the cloud platform is large, the management device can quickly reduce the load pressure of the cloud in the cloud platform. The above-mentioned management device executes the management method of the cloud platform provided in the embodiment of the present application, see S110-S140 below, which will not be repeated here.
[0085] 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.
[0086] 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.
[0087] The present application provides a cloud platform management method, which is applied to Figure 1 Management equipment in the cloud platform system shown; Figure 2 As shown, the method includes: S110-S140.
[0088] S110. The management device obtains the calling relationship between multiple cloud service components in the cloud platform.
[0089] The above cloud platform is Figure 1 The cloud platform shown includes multiple cloud service components, and there are mutual calling relationships between the multiple cloud service components.
[0090] The calling relationship includes one or more of the following: calling information of the multiple cloud service components, calling frequency of the link between any two cloud service components in the multiple cloud service components, and out-degree and in-degree of each cloud service component in the multiple cloud service components.
[0091] The above-mentioned calling information includes: when the first component is the main calling component, the identifiers of other cloud service components 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 above-mentioned multiple cloud service components. In other words, the calling information includes the corresponding relationship between the main calling end and the called end in multiple cloud service components, such as: when cloud service component A calls cloud service component B, the main calling end is cloud service component A, and the called end is cloud service component B, that is: cloud service component A→cloud service component B.
[0092] The calling frequency of the above link is used to indicate the number of times the link transmits data per unit time.
[0093] For example, the above calling relationship can be used Figure 3 The call relationship graph shown in the figure indicates that each node in the graph (such as: ②) represents a cloud service component (such as: cloud service component 2), and any node in the graph (such as: node 2 representing cloud service component 2) includes: when cloud service component 2 is the main caller, the identifiers of other cloud service components called, such as: ②→①; and when cloud service component 2 is the called end, the identifiers of the cloud service components of the main caller that call cloud service component 2, such as: ⑧→②, ⑥→②. It also includes: the call frequency of the links between cloud service component 2 and the cloud service components with which it has a call relationship, such as: the call frequency of link 1 between ② and ⑥; and also includes: the out-degree and in-degree of cloud service component 2.
[0094] 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 imports the above call relationship into the management device in advance, and then the management device directly obtains the call relationship locally; the specific implementation method of the above S110 is not limited in the embodiment of the present application.
[0095] S120: The management device divides the multiple cloud service components into multiple communities according to the calling relationship between the multiple cloud service components in the cloud platform.
[0096] The closeness of the call relationship between the cloud service components in any one of the multiple communities is greater than or equal to the 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 in the multiple communities is less than the preset closeness, that is, the closeness of the call relationship between any two communities in the multiple communities is less than the preset closeness; wherein the closeness of the call relationship is used to characterize the call frequency between two cloud service components. That is, the cloud service components with a higher closeness of the call relationship among the multiple cloud service components are divided into one community, and the cloud service components with a lower closeness of the call relationship among the multiple cloud service components are divided into different communities.
[0097] The specific implementation method of the above S120 can be that the management device divides the above multiple cloud service components into multiple communities based on the community discovery algorithm and the calling relationship between the above multiple cloud service components; or the management device divides the above multiple cloud service components into multiple communities based on a preset training model. The specific implementation method of the above S120 is not limited in the embodiments of the present application.
[0098] It should be noted that when the management device divides the above-mentioned multiple cloud service components into multiple communities based on the community discovery algorithm in S120, the specific implementation method includes: taking 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. Repeat this process until the modularity Q of any two communities (such as community 1 and community 2) among 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.
[0099]
[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 calling network corresponding to the above calling relationship is as follows Figure 3 As shown, based on the community discovery algorithm, the call network is divided into three communities, as follows Figure 4 As shown, nodes 6 to 10 are divided into the first community, nodes 1 to 5 are divided into the second community, and nodes 11 to 15 are divided into the third community; wherein, the edge connection density between multiple nodes in any one of the three communities is relatively high, and the edge connection density between any two communities is relatively 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, 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; wherein the second preset condition includes: the first X cloud service components with the largest heat value among multiple cloud service components in the first community, or the first M cloud service components with the smallest heat value among multiple cloud service components in the first community; wherein the heat value of a cloud service component is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component, and X and M are both integers greater than 0. That is, the management device calculates the heat values of all cloud service components in the first community and sorts the heat values; then, the first X cloud service components with the largest heat values are determined as target components, or the first M cloud service components with the smallest heat values are determined as target components.
[0107] Exemplarily, 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 arranged 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 first two cloud service components with the largest popularity values among the 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 manner, 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 feature 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 that the CPU usage is 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 that the memory usage is 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] Exemplarily, 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 is greater than the preset first CPU usage, memory usage is greater than the preset first memory usage and I / O throughput is greater than the preset first I / O throughput. At this time, 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; the current CPU usage of cloud service component A is 80%, the current memory usage of cloud service component A is 91%, and the current I / O throughput of cloud service component A is 600M / s; then, since the current CPU usage of cloud service component A is 80% which 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 means 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, so 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 relationship between the cloud service components included in the above-mentioned second community is the same as the calling relationship between the cloud service components included in the above-mentioned first community, that is, 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 method of the above S140 is to obtain the second community by cloning the first community, and its specific implementation includes: the management device obtains the orchestration template of the above first community, and the orchestration template includes information such as component resource types, the relationship between component resources, and the above calling relationship; wherein the component resource types include the resource types (such as storage resources or computing resources) required by multiple cloud service components in the first community; the relationship between component resources is used to indicate the relationship between the resources required by multiple cloud service components in the first community (such as: dependency relationship). Then, the management device deploys a set of cloned communities consistent with the above first community based on the orchestration template, namely the second community.
[0121] It should be noted that the above-mentioned arrangement template can be that the management device obtains the component resource type of the first community, the relationship between component resources, and the above-mentioned call relationship and other information after executing the above-mentioned S120; and keeps it locally as an arrangement template; the above-mentioned arrangement template can also be that the management device directly obtains the arrangement template from the first community when the management device executes the above-mentioned S140; wherein the format of the above-mentioned arrangement template is generally JS object notation (JSON) format or extensible markup language (XML) format. Specifically, the embodiment of the present application does not specifically limit the method for obtaining the above-mentioned arrangement template.
[0122] It should be noted that the above-mentioned second community is used to share part of the load of the first community; wherein, the second community can be specifically used to share part of the load of some cloud service components in the first community, and the second community can also 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 completely consistent with 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 that the load balancing strategy is a polling strategy, the second community will share half of the load of the first community.
[0124] Exemplarily, assume that the first community includes: cloud service component A-cloud service component C; wherein 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. At this time, when 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; therefore, in this scenario, when cloud service component D sends multiple groups 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] In another exemplary embodiment, based on the above example, the first community includes: cloud service component A→cloud service component B→cloud service component C. At this time, when cloud service component D outside the first community (such as the third community) calls cloud service component A, since cloud service component A calls cloud service component B, cloud service component B calls cloud service component C; therefore, in this scenario, when cloud service component D sends multiple groups 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 condition, the management device releases the first community or the second community, thereby saving available resources in the cloud platform; wherein, the specific method of releasing the first community or the second community refers to the prior art and will not be repeated here.
[0127] Based on this, an embodiment of the present application provides a management method for a cloud platform, which divides the multiple cloud service components into multiple communities including a first community according to the calling relationships between the multiple cloud service components in the cloud platform; wherein the calling relationships between the cloud service components within the community are more tightly connected, and the calling relationships between the communities are less tightly connected; when the first community meets the preset conditions, a second community identical to the first community is created (e.g., the first community is cloned 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 relatively 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 more tightly connected, 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 excessive load pressure on the other community, thereby making the load pressure reduction effect of the entire cloud platform poor.
[0129] Based on this, in one embodiment, combined with Figure 2 ,like Figure 5 As shown, the specific implementation method of the above S140 also 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 after the management device executes the above S120, it saves the modularity of any one of the multiple communities and the other communities, and directly obtains the modules of the first community and the other communities from the local 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 and the other communities according to the above formula (1); the specific implementation method of the above S141 is not limited in the embodiment of the present application.
[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 there is a target community in other communities according to 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; that is, the target community is a community among the other communities whose calling relationship with the first community is relatively close.
[0136] Exemplarily, it is assumed that the above-mentioned multiple communities include 4 communities, namely the first community to the fourth community; 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 the first community and the second community, 0.6, is greater than the threshold 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 related 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 combination of the first community combination.
[0144] The second community combination includes the second community and the third community, wherein the second community is a cloned community of the first community; and the third community is a cloned community of the target community. That is, 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 related description of S140, which will not be repeated here.
[0148] The embodiment of the present application determines whether there is a target community whose modularity with the first community is greater than a threshold value among multiple communities. When the target community exists (that is, when there is a community with a high degree of calling relationship with the first community), the first community and the target community are taken as a whole community (that is, the first community combination), and a second community combination including the second community and the third community that is the same as the first community combination is created; the second community combination is used to share the load of the first community combination, thereby solving the problem of excessive load pressure on the target community caused by only expanding the capacity of the first community, and further improving the strength of reducing the load pressure of 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 is as follows: Figure 6 As shown, it also 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 hot spots are cloud service components with higher calling frequencies (i.e., heat values) among the multiple cloud service components in the first community, where the heat value of a cloud service component is the sum of the out-degree of the cloud service component and the in-degree of the cloud service component. The hot links are links with higher calling frequencies among the multiple cloud service components in the first community.
[0153] In one example, the hot spots and hot links are determined as follows:
[0154] The hotspot determination formula in the first community is shown in the following formula (2).
[0155]
[0156] Among them, Node is the hotspot; max means taking the maximum value; rij represents the number of times node i (ie, cloud service component i) calls node j; x is the total number of nodes (ie, cloud service components) in the first community.
[0157] The hot link is a link with a high calling 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).
[0158]
[0159] Among them, Link is a hot link; max means taking the maximum value; rij represents the number of times node i calls node j, that is, the calling frequency of the link used when node i calls node j; x is the total number of nodes in the first community.
[0160] For example, in Figure 7In the matrix data corresponding to the first community shown, rij(x) indicates that node i calls node j x times; the first community includes 5 nodes, each of which 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), r15(8)}, {r31(3), r32(4), r33(0), r34(2), r35(6)}, {r41(2), r42(1), r43(3), r44(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, respectively; 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.
[0161] In another example, the specific implementation method of the above S210 includes: S1-S3.
[0162] S1. A management device obtains a heat value of each of a plurality of cloud service components in a first community and a calling frequency of a plurality of links between the plurality of cloud service components.
[0163] 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.
[0164] S2. The management device determines the top N cloud service components with the largest heat values as hotspots.
[0165] The above N is a preset integer greater than 0.
[0166] 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 hot spots.
[0167] S3. The management device determines the first M links with the highest calling frequencies as hot links.
[0168] The above M is a preset integer greater than 0.
[0169] 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 (referred to as: r54) and r15 as hot links.
[0170] 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 calling network corresponding to the first community, so that when the user views the calling network, he can intuitively know the distribution of hotspots and hot links in the first community, thereby improving the user experience.
[0171] S220: The management device processes hot spots and hot links according to a preset mitigation strategy.
[0172] 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.
[0173] There are two specific implementations of the above S220, as follows:
[0174] In one implementation, the specific implementation method of the above S220 is as follows: Figure 8 Shown include: S220a-S220d.
[0175] 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.
[0176] 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 includes: at least one of CPU usage, memory usage and I / O throughput.
[0177] It should be understood that the second target feature is a feature pre-specified by the user from multiple features of the hotspot according to the specific function of the hotspot (i.e., the type of service provided to the cloud platform). For example, when the hotspot is a cloud service component for storing data, the second target feature may include the usage rate of the storage space; and when the hotspot is a cloud service component for data calculation, the second target feature may include the CPU usage rate.
[0178] It should be noted that the embodiment of the present application is described by taking the second target feature including: CPU utilization, memory utilization and I / O throughput as an example, which will not be repeated later.
[0179] 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. Among them, 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.
[0180] Table 1
[0181]
[0182] The vertical expansion mentioned above 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 bars), and / or increasing the data bus of the hotspot.
[0183] 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 a load balancing strategy; for example, when the hotspot is cloud service component A, the number of cloud services in component A is increased.
[0184] 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.
[0185] 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 satisfies the third preset condition corresponding to the target hotspot reduction strategy.
[0186] Exemplarily, 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.
[0187] S220b: The management device processes the hotspot according to the target hotspot reduction strategy.
[0188] 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.
[0189] S220c: The management device determines a target hot link reduction strategy from the second target correspondence relationship according to the third target feature of the hot link.
[0190] 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: a success rate of data transmission and an I / O throughput.
[0191] It should be noted that the embodiment of the present application is described by taking the third target feature including I / O throughput as an example, which will not be repeated later.
[0192] The fourth preset condition is a condition that the third target feature must satisfy, and the fourth preset condition is used to determine whether to extend the hot link.
[0193] 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.
[0194] Table 2
[0195]
[0196] The horizontal expansion may specifically be to increase the number of links so that a part of the load of the hot link is shared to the increased links.
[0197] The vertical expansion mentioned above may specifically be to increase the bandwidth of the hot link so as to increase the amount of data that can be transmitted.
[0198] 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 above hot link as the target hot link reduction strategy.
[0199] 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.
[0200] S220d: The management device processes the hot link according to the target hot link reduction strategy.
[0201] Exemplarily, based on the example in S220c above, the target hot link reduction strategy is horizontal expansion, and then the number of the hot links is increased so that the increased links share part of the load of the hot link.
[0202] In the above embodiment, when the target component in the first community does not satisfy the first preset condition, the hotspot and hot link 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, so that the load pressure of the processed hot link is reduced, 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.
[0203] In another implementation, the specific implementation method of the above S220 is as follows: Fig. 9 Shown are: S220A-S220C.
[0204] 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.
[0205] 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.
[0206] 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.
[0207] 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 hot spots and hot links respectively; then, the management device determines the template type with the highest matching degree as the target type template.
[0208] It should be noted that the above-mentioned management device can calculate the distribution characteristics of hotspots and hot links and the matching degree of each preset type template based on the training model; the above-mentioned management device can also calculate the distribution characteristics of hotspots and hot links and the matching degree of each preset type template based on other existing algorithms. The specific implementation method of the above-mentioned S220A is not limited in the embodiment of the present application.
[0209] S220B: The management device determines a target reduction strategy corresponding to the target type template from the correspondence between the multiple type templates and the multiple reduction strategies.
[0210] The above-mentioned multiple types of templates include multiple different types of templates, such as: centralized templates and distributed templates.
[0211] 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, expansion hot link.
[0212] Table 3
[0213] Type Templates Mitigation strategies Type Template 1 Expansion Hotspot Type Template 2 Expansion hot spots and hot links Type Template 3 Expanding hot links
[0214] 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 lateral expansion. The specific embodiments of the present application do not limit the specific methods of expanding the above-mentioned hotspots and hot links.
[0215] For example, the type template 1 in Table 1 above is Fig.10 The centralized template in type template 2 is Fig.10 The link template in type template 3 is Fig.10 When the target type template is a centralized template, the expansion hotspot is determined as the target reduction strategy.
[0216] S220C, the management device processes hot spots and hot links according to the target mitigation strategy.
[0217] 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 according to 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 large in the first community.
[0218] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, the management device includes a hardware structure and / or software module 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 exceed the scope of the present application.
[0219] The embodiment of the present application can exemplarily divide the functional modules of the management device according to the above method. For example, the management device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above 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.
[0220] In the case of dividing each functional module into corresponding functional modules, Fig.11 A possible structural diagram of the management device involved in the above embodiment is shown. Fig.11 As shown, the management device includes: a division module 1101 and a creation module 1102.
[0221] The division module 1101 is used to divide the multiple cloud service components into multiple communities according to the calling relationship between the multiple cloud service components in the cloud platform; for example, execute step S120 in the above method embodiment.
[0222] The creation module 1102 is used to create a second community if the target component in the first community among the multiple communities meets the first preset condition; for example, execute step S140 in the above method embodiment.
[0223] Optionally, the division module 1101 is used to divide multiple cloud service components into multiple communities based on a community discovery algorithm and a call relationship.
[0224] Optionally, the creation module 1102 is configured to create a second community if the first target feature of the target component meets a first preset condition.
[0225] Optionally, the management device further includes: an acquisition module 1103 and a determination module 1104 .
[0226] 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, executing step S141 in the above method embodiment.
[0227] The determination module 1104 is used to determine whether there is a target community in other communities according to the modularity; for example, executing step S142 in the above method embodiment.
[0228] 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.
[0229] Optionally, the creation 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.
[0230] Optionally, the determination module 1104 is used to determine the hotspots and hot links 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; for example, execute step S210 in the above method embodiment; the determination module 1104 is used to process the hotspots and hot links according to a preset mitigation strategy; for example, execute step S220 in the above method embodiment.
[0231] Optionally, the determination module 1104 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; for example, executing step S220a in the above method embodiment.
[0232] The determination module 1104 is used to process the hotspot according to the target hotspot reduction strategy; for example, executing step S220b in the above method embodiment.
[0233] Optionally, the determination module 1104 is used to determine a target hot link reduction strategy from the second target correspondence relationship according to the third target feature of the hot link; for example, executing step S220c in the above method embodiment.
[0234] 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.
[0235] Optionally, the determination module 1104 is used 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.
[0236] The determination module 1104 is used to determine the target reduction strategy corresponding to the target type template from the correspondence between the multiple type templates and the multiple reduction strategies; for example, executing step S220B in the above method embodiment.
[0237] 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.
[0238] Among them, the division module 1101, the creation module 1102, the acquisition module 1103 and the determination module 1104 can all be implemented by software, or can be implemented by hardware. Exemplarily, the implementation of the division module 1101 is introduced below by taking the division module 1101 as an example. Similarly, the implementation of the creation module 1102, the acquisition module 1103 and the determination module 1104 can refer to the implementation of the division module 1101.
[0239] As an example of a software functional unit, the partition module 1101 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the partition 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 can be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code can be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with similar geographical locations. Among them, usually a region can include multiple AZs.
[0240] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.
[0241] As an example of a hardware functional unit, the partition module 1101 may include at least one computing device, such as a server, etc. Alternatively, the partition module 1101 may also be a device 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.
[0242] The multiple computing devices included in the partition module 1101 can be distributed in the same region or in different regions. The multiple computing devices included in the partition module 1101 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the partition module 1101 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.
[0243] It should be noted that, in other embodiments, the division module 1101 can be used to execute any step in the management method of the above-mentioned cloud platform, the creation module 1102 can be used to execute any step in the management method of the above-mentioned cloud platform, the acquisition module 1103 can be used to execute any step in the management method of the above-mentioned cloud platform, and the determination module 1104 can be used to execute any step in the management method of the above-mentioned cloud platform. 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 management method of the above-mentioned cloud platform to realize all the functions of the management device.
[0244] The embodiment of the present application also provides 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 smart phone.
[0245] like Fig.12As shown, the computing device cluster includes at least one computing device 100. The memory 106 in 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.
[0246] 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 above-mentioned cloud platform management method. In other words, the combination of one or more computing devices 100 can jointly execute instructions for executing the above-mentioned cloud platform management method.
[0247] It should be noted that the memory 106 in different computing devices 100 in the computing device cluster can store different instructions, which are respectively used to execute part of the functions of the management device. That is, the instructions stored in the memory 106 in different computing devices 100 can implement the functions of one or more modules of the division module 1101, the creation module 1102, the acquisition module 1103 and the determination module 1104.
[0248] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.13 A possible implementation is shown. Fig.13 As shown, two computing devices 100A and 100B are connected via a network. Specifically, the network is connected 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 partition 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.
[0249] Fig.13 The connection method between the computing device clusters shown may be based on the consideration that the management method of the cloud platform provided in the present 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 that the functions implemented by the acquisition module 1103 and the determination module 1104 are handed over to the computing device 100B for execution.
[0250] It should be understood that Fig.13 The functions of the computing device 100A shown in FIG. 1 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.
[0251] The present application embodiment also provides another computing device cluster. The connection relationship between the computing devices in the computing device cluster can be similar to that of Figure 4 and Figure 5 The connection mode of the computing device cluster is different in that the memory 106 in one or more computing devices 100 in the computing device cluster may store the same instructions for executing the management method of the cloud platform.
[0252] 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 management method of the cloud platform. In other words, the combination of one or more computing devices 100 may jointly execute instructions for executing the management method of the cloud platform.
[0253] The embodiment of 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 in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the management method of the cloud platform.
[0254] The embodiment of 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 the computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the management method of the cloud platform.
[0255] 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 cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the 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 creating of the second community, the method further comprises: 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
Cited By
Cloud platform management method and device, program product, and storage medium
EP4697678A1
Cloud platform management method and device, program product, and storage medium
WO2024227365A1
