CN108063784A - The methods, devices and systems of application cluster resource allocation under a kind of cloud environment - Google Patents
The methods, devices and systems of application cluster resource allocation under a kind of cloud environment Download PDFInfo
- Publication number
- CN108063784A CN108063784A CN201610982629.XA CN201610982629A CN108063784A CN 108063784 A CN108063784 A CN 108063784A CN 201610982629 A CN201610982629 A CN 201610982629A CN 108063784 A CN108063784 A CN 108063784A
- Authority
- CN
- China
- Prior art keywords
- resource
- application cluster
- application
- rank
- cluster
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013468 resource allocation Methods 0.000 title claims abstract description 55
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000006870 function Effects 0.000 claims description 18
- 238000009826 distribution Methods 0.000 claims description 16
- 238000003860 storage Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000007599 discharging Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
- H04L67/1053—Group management mechanisms with pre-configuration of logical or physical connections with a determined number of other peers
- H04L67/1057—Group management mechanisms with pre-configuration of logical or physical connections with a determined number of other peers involving pre-assessment of levels of reputation of peers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Debugging And Monitoring (AREA)
- Multi Processors (AREA)
Abstract
The embodiment of the present application provides a kind of methods, devices and systems of application cluster resource allocation under cloud environment, the described method includes:Obtain the resource utilization of each application cluster in given transaction link under cloud environment;The resource load rank of each application cluster is determined according to the resource utilization;The resource load rank includes high occupancy level and low occupancy level;For the application cluster application resource of the high occupancy level;Fail if the application cluster application resource of the high occupancy level, then the resource of the application cluster of low occupancy level is discharged according to resource load rank;The resource allocation of the release is given to the application cluster of the high occupancy level.The embodiment of the present application can even up the resource load of application cluster under entire cloud environment, can make full use of existing resource, improve the resource utilization of application cluster so that application cluster can support higher flowing of access.
Description
Technical field
This application involves technical field of data processing, more particularly to a kind of side of application cluster resource allocation under cloud environment
Method, under a kind of cloud environment under the device of application cluster resource allocation and a kind of cloud environment application cluster resource allocation system.
Background technology
Cloud computing is a kind of computing model for providing the telescopic virtual resource of dynamic with method of service by internet, is led to
This mode is crossed, shared software and hardware resources and information can be supplied to computer and other equipment on demand.The base of cloud computing
Plinth environment is to virtualize, and there are resource-sharings in virtualized environment.It is commonly used in cloud computing environment (hereinafter referred to as cloud environment)
Virtual machine (VM, Virtual Machine), system resource of these virtual machine primary associations etc..
These resources in cloud environment are shared by virtual machine, will be from the cloud ring when virtual machine needs to apply resource
Apply for idle resource in border.However, in the case where resource is limited, if idle resource has exhausted, then virtual machine
Apply for resource failure, which will can not work normally since resource load is excessive, extreme influence work efficiency.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present application overcomes the above problem or at least partly in order to provide one kind
The method of application cluster resource allocation under a kind of cloud environment to solve the above problems, application cluster resource allocation under a kind of cloud environment
Device and a kind of cloud environment under application cluster resource allocation system.
To solve the above-mentioned problems, what the embodiment of the present application disclosed application cluster resource allocation under a kind of cloud environment is
System, the system comprises:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one
A or multiple processors perform, and one or more of modules have the function of as follows:
Obtain the resource utilization of each application cluster in given transaction link under cloud environment;
The resource load rank of each application cluster is determined according to the resource utilization;The resource load rank includes
High occupancy level and low occupancy level;
For the application cluster application resource of the high occupancy level;
Fail if the application cluster application resource of the high occupancy level, then discharge low occupancy according to resource load rank
The resource of the application cluster of rank;
The resource allocation of the release is given to the application cluster of the high occupancy level.
The method that the embodiment of the present application also discloses application cluster resource allocation under a kind of cloud environment, including:
Obtain the resource utilization of each application cluster in given transaction link under cloud environment;
The resource load rank of each application cluster is determined according to the resource utilization;The resource load rank includes
High occupancy level and low occupancy level;
For the application cluster application resource of the high occupancy level;
Fail if the application cluster application resource of the high occupancy level, then discharge low occupancy according to resource load rank
The resource of the application cluster of rank;
The resource allocation of the release is given to the application cluster of the high occupancy level.
Preferably, described obtain is wrapped under cloud environment in given transaction link the step of the resource utilization of each application cluster
It includes:
When flowing of access is promoted, the resource utilization of each application cluster in given transaction link under cloud environment is obtained.
Preferably, resource pool, the step of the application cluster application resource for high occupancy level are included under the cloud environment
Suddenly include:
To the resource pool application resource;
When the resource abundance of the resource pool, then distributed for the application cluster of the high occupancy level in the resource pool
Resource;
When the resource exhaustion of the resource pool, then fail for the application cluster application resource of the high occupancy level.
Preferably, the application cluster has corresponding priority, and the application cluster for high occupancy level distributes institute
The step of stating resource in resource pool includes:
When the application cluster of the high occupancy level is two or more, occupied according to the priority to be high
The application cluster of rank distributes resource in the resource pool.
Preferably, the resource load rank has corresponding releasing ratio, described low according to the release of resource load rank
The step of resource of the application cluster of occupancy level, includes:
Determine the corresponding releasing ratio of resource load rank of the application cluster of low occupancy level;
The resource of the application cluster of the low occupancy level is discharged according to the releasing ratio;
By the resource conservation of the release into resource pool.
Preferably, the step of resource of the application cluster that the low occupancy level is discharged according to releasing ratio includes:
Obtain the Current resource of the application cluster of the low occupancy level;
Obtain the current accessed flow of the application cluster of the low occupancy level;
Demand resource is calculated using the current accessed flow and default unit limiting value;
The idling-resource of the application cluster of the low occupancy level is determined using the Current resource and the demand resource;
The idling-resource is discharged according to the releasing ratio.
Preferably, the resource allocation by release gives the step of application cluster of the high occupancy level to include:
To the resource pool application resource of the resource for preserving release;
The resource discharged in the resource pool is distributed for the application cluster of the high occupancy level.
The embodiment of the present application also discloses a kind of device of application cluster resource allocation under cloud environment, including:
Resource utilization acquisition module, the resource for obtaining each application cluster in given transaction link under cloud environment make
With rate;
Resource load rank determination module, for determining the resource load of each application cluster according to the resource utilization
Rank;The resource load rank includes high occupancy level and low occupancy level;
Resource bid acquisition module, for the application cluster application resource for the high occupancy level;
Resource release module, for failing if the application cluster application resource of the high occupancy level, then according to resource
Load level discharges the resource of the application cluster of low occupancy level;
Resource distribution module, for the resource allocation of the release to be given to the application cluster of the high occupancy level.
The method that the embodiment of the present application also discloses application cluster resource allocation under a kind of cloud environment, including:
Obtain the resource load state of each application cluster under cloud environment;
The resource load rank of the application cluster is determined according to the resource load state;The resource load rank bag
It includes resource and is fully loaded with rank and other ranks;
The application cluster application resource of rank is fully loaded with for the resource;
The application cluster application resource that rank is fully loaded with if the resource fails, then discharges other according to resource load rank
The resource of the application cluster of rank;
The resource allocation of the release is fully loaded with to the application cluster of rank to the resource.
Preferably, described the step of obtaining the resource load state of each application cluster under cloud environment, includes:
When flowing of access is promoted, the resource load state of each application cluster under cloud environment is obtained.
Preferably, resource pool is included under the cloud environment, the application cluster application resource that rank is fully loaded with for resource
Step includes:
To the resource pool application resource;
When the resource abundance of the resource pool, then the application cluster that rank is fully loaded with for the resource distributes the resource pool
Middle resource;
When the resource exhaustion of the resource pool, then the application cluster application resource failure of rank is fully loaded with for the resource.
Preferably, the application cluster has corresponding priority, the application cluster distribution that rank is fully loaded with for resource
Include in the resource pool the step of resource:
It is resource according to the priority when the application cluster that the resource is fully loaded with rank is two or more
The application cluster of fully loaded rank distributes resource in the resource pool.
Preferably, the resource load rank has corresponding releasing ratio, described to discharge it according to resource load rank
The step of resource of the application cluster of his rank, includes:
Determine the corresponding releasing ratio of resource load rank of the application cluster of other ranks;
The resource of the application cluster of other ranks is discharged according to the releasing ratio;
By the resource conservation of the release into resource pool.
Preferably, it is described the other application cluster is discharged according to releasing ratio resource the step of include:
Obtain the Current resource of the application cluster of other ranks;
Obtain the current accessed flow of the application cluster of other ranks;
Demand resource is calculated using the current accessed flow and default unit limiting value;
The idling-resource of the application cluster of other ranks is determined using the Current resource and the demand resource;
The idling-resource is discharged according to the releasing ratio.
Preferably, the step of resource allocation by release is fully loaded with the application cluster of rank to the resource includes:
To the resource pool application resource of the resource for preserving release;
The application cluster that rank is fully loaded with for the resource distributes the resource discharged in the resource pool.
The embodiment of the present application also discloses a kind of device of application cluster resource allocation under cloud environment, including:
Resource load state acquisition module, for obtaining the resource load state of each application cluster under cloud environment;
Resource load rank determination module, for determining that the resource of the application cluster is born according to the resource load state
Carry rank;The resource load rank is fully loaded with rank and other ranks including resource;
Resource bid module, for being fully loaded with the application cluster application resource of rank for the resource;
Resource release module, for be fully loaded with for the resource rank application cluster application resource fail when, according to money
Source load level discharges the resource of the application cluster of other ranks;
Resource distribution module is discharged, the application for the resource allocation of the release to be fully loaded with to rank to the resource collects
Group.
The embodiment of the present application includes advantages below:
The embodiment of the present application determines it for the application cluster under cloud environment according to each application cluster resource load state
Residing resource load rank is fully loaded with the application cluster of rank if there is resource, then is the application cluster application resource, if
Apply for resource failure at this time, then the application cluster of other ranks is asked to discharge resource, finally by the resource allocation of release to resource
The application cluster of fully loaded rank.It should be noted that the embodiment of the present application is to be fully loaded with rank according to the resource of application cluster to release
Resource is put, if so perform above-mentioned steps repeatedly, then the resource load of application cluster under entire cloud environment is most evened up at last,
Existing resource can be made full use of, improves the resource utilization of application cluster so that application cluster can support higher visit
Ask flow.
Description of the drawings
Fig. 1 be the application a kind of cloud environment under application cluster resource allocation embodiment of the method 1 step flow chart;
Fig. 2 be the application a kind of cloud environment under application cluster resource allocation schematic diagram;
Fig. 3 be the application a kind of cloud environment under application cluster resource allocation embodiment of the method 2 step flow chart;
Fig. 4 be the application a kind of cloud environment under application cluster resource allocation device embodiment structure diagram;
Fig. 5 is a kind of server example structure diagram of the application.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real to enable the above-mentioned purpose of the application, feature and advantage more obvious understandable
Mode is applied to be described in further detail the application.
Include one or more application cluster under cloud environment, can independently complete special services, application cluster it
Between interaction form trade link, a complete transaction job can be completed.For example, in the application cluster of some supply link
In, including four application systems such as commodity, logistics, certification, marketing, commodity, object are completed in the application cluster of the supply link
The a series of activities such as stream, certification, marketing.Trade link pressure surveys the processing effect for the trade link that can be used for test application cluster
Rate.
Trade link pressure is surveyed to be corresponded to by a variety of normal, peak values of testing tool simulation and abnormal load conditions automated
Pressure survey is carried out with the property indices of cluster, the performance bottleneck of application cluster is detected, improves the processing capacity of application cluster.
However, trade link pressure surveys the performance bottleneck for simply testing out application cluster at present, and when flowing of access reaches
Desired value, such as when reaching the flowing of access of 15W, the then processing capacity of no longer upward detection application cluster, then resource can not
It fully utilizes.
In view of the above-mentioned problems, the embodiment of the present application presses survey process for application cluster under cloud environment on specified platform
In, the resource load of trade link overall applicability cluster is evened up, in the case where existing resource is limited, makes full use of existing money
Source, the resource load of balanced each application cluster promote the processing capacity of application cluster so that application cluster can support higher
Flowing of access.
With reference to Fig. 1, the step of showing the embodiment of the method for application cluster resource allocation under a kind of cloud environment of the application
Flow chart specifically may include steps of:
Step 101, the resource load state of each application cluster under cloud environment is obtained;
In the embodiment of the present application, the application cluster of some trade link is combed first, and application cluster access is referred to
On fixed platform, cloud environment is formed.It can make overall planning under the cloud environment for application cluster.
As shown in Fig. 2, include in some trade link using A clusters, using B clusters, using C clusters, these applications
Cluster is linked into the platform that some is specified, and application cluster on the platform can be with shared resource.
The resource load state of application cluster refers to the resource utilization of application cluster, and specifically, resource can include
Capacity, CPU, memory, magnetic disc i/o, network bandwidth etc..In some cases, the resource utilization of application cluster can reach
100%.
In one embodiment of the application, the step 101 can include following sub-step:
Sub-step S11 when flowing of access is promoted, obtains the resource load state of each application cluster under cloud environment.
The embodiment of the present application detects the performance bottleneck of current application cluster by carrying out pressure survey to trade link.So-called property
Energy bottleneck, i.e. resource utilization have reached danger threshold, and application cluster will be unable to work normally at this time.
During pressure survey is carried out to trade link, flowing of access of the user for application cluster can be constantly promoted.
In one case, the embodiment of the present application will obtain each application cluster under cloud environment when detecting that flowing of access is promoted
Resource load state.
Step 102, the resource load rank of the application cluster is determined according to the resource load state;The resource is born
It carries rank and is fully loaded with rank and other ranks including resource;
In the embodiment of the present application, for each application cluster, will be determined according to its resource load state residing for it
Resource load rank, resource load rank can be used in characterizing the resource utilization of application cluster.
Resource load rank can be fully loaded with rank and other ranks including resource, and resource is fully loaded with rank and refers to application cluster
Resource utilization has reached a danger threshold, for example, it may be possible to be that CPU usage reaches 90%.
As shown in Fig. 2, using A clusters if CPU usage is more than 70% (CPU>70%), alternatively, in 1 minute
The relation of average load and CPU core number is load1>Core_num*1.5, it may be considered that being in resource using A clusters is fully loaded with grade
Not, it is then for other ranks using B clusters and application C clusters.
It should be noted that division of the embodiment of the present application for the number of levels of resource load rank, it can be according to tool
Body demand divides, and the embodiment of the present application is not any limitation as this.In addition, division of the embodiment of the present application for resource load rank
Mode is not limited solely to CPU usage, can also be divided with reference to other resource parameters, such as memory, magnetic disc i/o, net
The utilization rates such as network bandwidth are divided otherwise, and the embodiment of the present application is not equally any limitation as this.
Step 103, the application cluster application resource of rank is fully loaded with for the resource;
Under cloud environment can include resource pool, available free resource is placed in resource pool, when application cluster need into
It, will be first to resource pool application resource during row application resource.
In one embodiment of the application, the step 103 can include following sub-step:
Sub-step S21, to the resource pool application resource;
Sub-step S22 when the resource abundance of the resource pool, is then fully loaded with the application cluster distribution of rank for the resource
Resource in the resource pool;
Sub-step S23 when the resource exhaustion of the resource pool, is then fully loaded with the application cluster application of rank for the resource
Resource fails.
It is appreciated that if resource is sufficient in resource pool, then can be directly by the resource allocation in resource pool to resource
The application cluster of fully loaded rank, still, if resource is exhausted in resource pool, then will be unable to be fully loaded with answering for rank for resource
With cluster application resource, apply for resource failure at this time.
In one embodiment of the application, the application cluster can have corresponding priority, the sub-step S22
It can include following sub-step:
Sub-step S221, when the application cluster that the resource is fully loaded with rank is two or more, according to described
The application cluster that priority is fully loaded with rank for resource distributes resource in the resource pool.
When there are resource priority during assignable resource, can be distributed to the other application collection of high priority in resource pool
Group.Specifically, if performance bottleneck occur simultaneously in multiple application clusters, i.e., multiple resources are fully loaded with the application cluster of rank simultaneously
During appearance, resource will be sequentially distributed for each application cluster according to priority, the application cluster priority requisition resource of high priority,
Then it is the application cluster application resource of low priority again, distribution principle in this way can cause the host of application cluster
Machine resource makes full use of.
, whereas if resource is not distributed sequentially for each application cluster according to priority, then would likely result in be low
After the application cluster application resource of priority, resource exhaustion in resource pool, then finally will be unable to the application collection for high priority
Group's distribution resource.
It should be noted that it can be set in the embodiment of the present application for the priority of application cluster by related personnel
It puts, it is of course also possible to set the excellent of application cluster according to other modes such as the significance level of application cluster or processing sequences
First grade, the embodiment of the present invention are not any limitation as this.
Step 104, the application cluster application resource that rank is fully loaded with if the resource fails, then according to resource load rank
Discharge the resource of the application cluster of other ranks;
The embodiment of the present application is worked as when failing from resource pool application resource, by the resource for discharging other application cluster to make up
The situation of preceding inadequate resource.
In one embodiment of the application, the resource load rank can have corresponding releasing ratio, the step
Rapid 104 can include following sub-step:
Sub-step S31 determines the corresponding releasing ratio of resource load rank of the application cluster of other ranks;
Sub-step S32 discharges the resource of the application cluster of other ranks according to the releasing ratio;
Sub-step S33, by the resource conservation of the release into resource pool.
In the embodiment of the present application, it is the resource load rank according to application cluster when discharging the resource of application cluster
Discharge resource, i.e., if the larger application cluster of load, then discharge less resource, if loading smaller application collection
Group, then discharge more resource.
In one embodiment of the application, the sub-step S32 is that is, described to be answered according to described other of releasing ratio release
Included with the step of resource of cluster:
Sub-step S321 obtains the Current resource of the application cluster of other ranks;
Sub-step S322 obtains the current accessed flow of the application cluster of other ranks;
Sub-step S323 calculates demand resource using the current accessed flow and default unit limiting value;
Sub-step S324 determines the application cluster of other ranks using the Current resource and the demand resource
Idling-resource;
Sub-step S325 discharges the idling-resource according to the releasing ratio.
In the embodiment of the present application, the resource needed for current application cluster can be:The access per second of current application cluster
Total flow/day normal pressure surveys unit extreme value, wherein, day normal pressure survey unit extreme value and refer to holding for single virtual machine in application cluster
The flowing of access received.According to the Current resource of application cluster and demand resource, it may be determined that the sky that the application cluster can discharge
Not busy resource.
In another embodiment, the resource needed for current application cluster can also be:The access per second of current application cluster
Total flow/day normal pressure surveys unit extreme value/safety level.Wherein, safety level is a buffer (buffering), can be according to actual need
It asks and size is set or without using the embodiment of the present invention is not any limitation as this.
As shown in Fig. 2, higher using the resource load rank of B clusters, resource utilization is higher, and CPU usage is more than
50%, less than 60%, then the resource of release 5%, resource relatively low using the resource load rank of C clusters are only needed using B clusters
Utilization rate is relatively low, and CPU usage is more than 10%, less than 20%, then the resource of release 15% is needed using C clusters.The money of release
Source can be saved in T4 resource pools.It is discharged by resource gradient type, allows the resource of each application cluster that can be maintained at some
Horizontal line rather than single solution for diverse problems.
Step 105, the resource allocation of the release is fully loaded with to the application cluster of rank to the resource.
In one embodiment of the application, the step 105 can include following sub-step:
Sub-step S41, to the resource pool application resource of the resource for preserving release;
Sub-step S42, the application cluster that rank is fully loaded with for the resource distribute the resource discharged in the resource pool.
After the resource deposit for having release in resource pool, the application cluster that resource is fully loaded with rank can be from the resource pool not
Disconnected application resource until meet oneself the needs of, then can stop the releasing idling-resource of the application cluster of other ranks.
Specifically, resource is fully loaded with the resources requirement of the application cluster of rank, can be determined according to flowing of access
It predicts instance number (resources of virtual machine), prediction instance number is then subtracted into instant example number (current virtual machine resource) again, is
The resources requirement of the application cluster.
Certainly, the resource requirement that resource is fully loaded with the application cluster of rank can be that application cluster is fully loaded with rank from resource,
It is reduced to other ranks.
After the application cluster that rank is fully loaded with resource in the embodiment of the present application completion distributes resource, user can be continued to lift up
Flowing of access, and again perform step 101- steps 105, in this way repeatedly, most even up at last entire trade link application collection
The resource load state of group so that the resource of each application cluster can make full use of.
The embodiment of the present application determines it for the application cluster under cloud environment according to each application cluster resource load state
Residing resource load rank is fully loaded with the application cluster of rank if there is resource, then is the application cluster application resource, if
Apply for resource failure at this time, then the application cluster of other ranks is asked to discharge resource, finally by the resource allocation of release to resource
The application cluster of fully loaded rank.It should be noted that the embodiment of the present application is to be fully loaded with rank according to the resource of application cluster to release
Resource is put, if so perform above-mentioned steps repeatedly, then the resource load of application cluster under entire cloud environment is most evened up at last,
Existing resource can be made full use of, improves the resource utilization of application cluster so that application cluster can support higher visit
Ask flow.
With reference to Fig. 3, the step of showing embodiment of the method 2 of application cluster resource allocation under a kind of cloud environment of the application
Flow chart specifically may include steps of:
Step 201, the resource utilization of each application cluster in given transaction link under cloud environment is obtained;
Step 202, the resource load rank of each application cluster is determined according to the resource utilization;The resource load
Rank includes high occupancy level and low occupancy level;
Step 203, it is the application cluster application resource of the high occupancy level;
Step 204, fail if the application cluster application resource of the high occupancy level, then released according to resource load rank
Lower the resource of the application cluster of occupancy level;
Step 205, the resource allocation of the release is given to the application cluster of the high occupancy level.
In a preferred embodiment of the present application, the step 201 can include:
When flowing of access is promoted, the resource utilization of each application cluster in given transaction link under cloud environment is obtained.
In a preferred embodiment of the present application, resource pool is included under the cloud environment, the step 203 can wrap
It includes:
To the resource pool application resource;
When the resource abundance of the resource pool, then distributed for the application cluster of the high occupancy level in the resource pool
Resource;
When the resource exhaustion of the resource pool, then fail for the application cluster application resource of the high occupancy level.
In a preferred embodiment of the present application, the application cluster has corresponding priority, described to be occupied to be high
Include in the application cluster distribution resource pool of rank the step of resource:
When the application cluster of the high occupancy level is two or more, occupied according to the priority to be high
The application cluster of rank distributes resource in the resource pool.
In a preferred embodiment of the present application, the resource load rank has corresponding releasing ratio, the step
Rapid 204 can include:
Determine the corresponding releasing ratio of resource load rank of the application cluster of low occupancy level;
The resource of the application cluster of the low occupancy level is discharged according to the releasing ratio;
By the resource conservation of the release into resource pool.
In a preferred embodiment of the present application, the application that the low occupancy level is discharged according to releasing ratio collects
The step of resource of group, includes:
Obtain the Current resource of the application cluster of the low occupancy level;
Obtain the current accessed flow of the application cluster of the low occupancy level;
Demand resource is calculated using the current accessed flow and default unit limiting value;
The idling-resource of the application cluster of the low occupancy level is determined using the Current resource and the demand resource;
The idling-resource is discharged according to the releasing ratio.
In a preferred embodiment of the present application, the step 205 includes:
To the resource pool application resource of the resource for preserving release;
The resource discharged in the resource pool is distributed for the application cluster of the high occupancy level.
In the concrete realization, a plurality of trade link can have been divided under cloud environment, targetedly to handle various things
Business, can be made overall planning under cloud environment using the embodiment of the present invention with the resource for application cluster.
The embodiment of the present application for the application cluster under cloud environment, knows this according to each application cluster resource utilization
The resource load state of application cluster may thereby determine that the resource load rank residing for it.If there is high occupancy level
Application cluster is then the application cluster application resource, if applying for resource failure at this time, asks the application collection of low occupancy level
The resource allocation of release is finally given the application cluster of high occupancy level by group's release resource.It should be noted that the application is implemented
Example is to be fully loaded with rank according to the resource of application cluster to discharge resource, if so perform above-mentioned steps repeatedly, then most at last
The resource load of application cluster under entire cloud environment is evened up, existing resource can be made full use of, improving the resource of application cluster makes
With efficiency so that application cluster can support higher flowing of access.
For those skilled in the art is made to more fully understand the embodiment of the present application, illustrate this Shen below by way of specific example
The pressure of trade link process please be surveyed in embodiment, as shown in Figure 2.
1, comb the application cluster of entire trade link, and access platform;Being accessed under the platform has using A clusters, should
With B clusters, using C clusters, these application clusters form a trade link.
2, pressure survey is carried out to trade link, to detect the performance bottleneck of application cluster under the trade link.For each application
Cluster according to resource load state demarcation resource load rank, wherein, the application cluster for performance bottleneck occur will be divided into resource
Fully loaded rank.
3, when performance bottleneck occurs in certain application cluster, such as using A clusters, then to resource pool application resource;If from money
Source pond application resource success, then continue up altitude touch pressure, that is, promote the access of application cluster resource user under the trade link
Amount.
There are one principles during application machine (resource):If there is performance bottleneck simultaneously in multiple application clusters, according to every
The priority of a application cluster just distributes resource, is first the high application cluster application resource of priority, secondly to be low excellent
The application cluster application resource of first grade, to reach making full use of for host resource;If do not press this principle, it is likely that meeting
After the application cluster of low priority is caused to be assigned with resource, the resource exhaustion of resource pool can not be finally answering for high priority again
Resource is distributed with cluster.
4, as the application cluster to trade link is constantly touch pressure, and when lift pressure and in real time application money
Source, with the current flowing of access of support applications cluster.Until performance bottleneck occurs in certain application cluster, and apply for that resource fails
(resource pool is exhausted).Platform then travels through the resource load state of the application cluster of other chain roads, each application cluster automatically
Different according to the resource load state of itself, gradient discharges resource to even up resource load water level.
5, after evening up water level, resource discharges and is saved in resource pool, the application cluster A of performance bottleneck occurs constantly from resource
Resource is applied in pond, until taking the resource requirement of oneself, then stops the task of other low-load application cluster releasing idling-resources.
At this point, continuing pressure of touch, that is, the flowing of access of user is promoted, from the 1st step iteration again.
6, by above 5 step iteration, finally to reach the existing resource for the application cluster for making full use of trade link so that
The trade link can support the flowing of access of more large user.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
It closes, but those skilled in the art should know, the embodiment of the present application and from the limitation of described sequence of movement, because according to
According to the embodiment of the present application, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and involved action not necessarily the application is implemented
Necessary to example.
Reference Fig. 4 shows the structure of the device embodiment of application cluster resource allocation under a kind of cloud environment of the application
Block diagram can specifically include following module:
Resource load state acquisition module 301, for obtaining the resource load state of each application cluster under cloud environment;
In one embodiment of the application, the resource load state acquisition module 301 can include following submodule:
Resource load state acquisition submodule, for when flowing of access is promoted, obtaining each application cluster under cloud environment
Resource load state.
Resource load rank determination module 302, for determining the money of the application cluster according to the resource load state
Source load level;The resource load rank is fully loaded with rank and other ranks including resource;
Resource bid module 303, for being fully loaded with the application cluster application resource of rank for the resource;
In one embodiment of the application, resource pool, the resource bid module 303 can be included under the cloud environment
It can include following submodule:
First resource Pooled resources application submodule, for the resource pool application resource;
First resource handles submodule, in the resource abundance of the resource pool, being then fully loaded with rank for the resource
Application cluster distribute resource in the resource pool;
Secondary resource handles submodule, in the resource exhaustion of the resource pool, being then fully loaded with rank for the resource
Application cluster application resource failure.
In one embodiment of the application, the application cluster can have corresponding priority, the first resource
Processing submodule includes:
Priority processing unit, for be fully loaded in the resource application cluster of rank for two or more when,
The application cluster that rank is fully loaded with for resource according to the priority distributes resource in the resource pool.
Resource release module 304, for be fully loaded with for the resource rank application cluster application resource fail when, according to
Resource load rank discharges the resource of the application cluster of other ranks;
In one embodiment of the application, the resource load rank can have corresponding releasing ratio, the money
Source release module 304 can include following submodule:
Releasing ratio determination sub-module, for determining the corresponding release of resource load rank of the application cluster of other ranks
Ratio;
Resource ratio discharges submodule, for discharging the money of the application cluster of other ranks according to the releasing ratio
Source;
Discharge resource conservation submodule, for by the resource conservation of the release into resource pool.
In one embodiment of the application, the resource ratio release submodule can include such as lower unit:
Current resource acquiring unit, for obtaining the Current resource of the application cluster of other ranks;
Current accessed flow cell, for obtaining the current accessed flow of the application cluster of other ranks;
Demand Resource Calculation unit, for calculating demand money using the current accessed flow and default unit limiting value
Source;
Idling-resource determination unit, for determining other ranks using the Current resource and the demand resource
The idling-resource of application cluster;
Idling-resource releasing unit, for discharging the idling-resource according to the releasing ratio.
Resource distribution module 305 is discharged, for the resource allocation of the release to be fully loaded with to the application of rank to the resource
Cluster.
In one embodiment of the application, the release resource distribution module 205 can include following submodule:
Secondary resource Pooled resources application submodule, for the resource pool application resource of the resource for preserving release;
Information resources handle submodule, are released for being fully loaded with for the resource in the application cluster of the rank distribution resource pool
The resource put.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
The system that the embodiment of the present application additionally provides application cluster resource allocation under a kind of cloud environment, the system comprises:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one
A or multiple processors perform, and one or more of modules have the function of as follows:
Obtain the resource load state of each application cluster under cloud environment;
The resource load rank of the application cluster is determined according to the resource load state;The resource load rank bag
It includes resource and is fully loaded with rank and other ranks;
The application cluster application resource of rank is fully loaded with for the resource;
The application cluster application resource that rank is fully loaded with if the resource fails, then discharges other according to resource load rank
The resource of the application cluster of rank;
The resource allocation of the release is fully loaded with to the application cluster of rank to the resource.
Optionally, which can have the function of as follows:
When flowing of access is promoted, the resource load state of each application cluster under cloud environment is obtained.
Optionally, resource pool is included under the cloud environment, which can have the function of as follows:
To the resource pool application resource;
When the resource abundance of the resource pool, then the application cluster that rank is fully loaded with for the resource distributes the resource pool
Middle resource;
When the resource exhaustion of the resource pool, then the application cluster application resource failure of rank is fully loaded with for the resource.
Optionally, the application cluster has corresponding priority, which can have the function of as follows:
It is resource according to the priority when the application cluster that the resource is fully loaded with rank is two or more
The application cluster of fully loaded rank distributes resource in the resource pool.
Optionally, the resource load rank has corresponding releasing ratio, which can have such as
Lower function:
Determine the corresponding releasing ratio of resource load rank of the application cluster of other ranks;
The resource of the application cluster of other ranks is discharged according to the releasing ratio;
By the resource conservation of the release into resource pool.
Optionally, which can have the function of as follows:
Obtain the Current resource of the application cluster of other ranks;
Obtain the current accessed flow of the application cluster of other ranks;
Demand resource is calculated using the current accessed flow and default unit limiting value;
The idling-resource of the application cluster of other ranks is determined using the Current resource and the demand resource;
The idling-resource is discharged according to the releasing ratio.
Optionally, which can have the function of as follows:
To the resource pool application resource of the resource for preserving release;
The application cluster that rank is fully loaded with for the resource distributes the resource discharged in the resource pool.
The embodiment of the present application additionally provides a kind of device of application cluster resource allocation under cloud environment, and described device can wrap
Include following module:
Resource utilization acquisition module, the resource for obtaining each application cluster in given transaction link under cloud environment make
With rate;
Resource load rank determination module, for determining the resource load of each application cluster according to the resource utilization
Rank;The resource load rank includes high occupancy level and low occupancy level;
Resource bid acquisition module, for the application cluster application resource for the high occupancy level;
Resource release module, for failing if the application cluster application resource of the high occupancy level, then according to resource
Load level discharges the resource of the application cluster of low occupancy level;
Resource distribution module, for the resource allocation of the release to be given to the application cluster of the high occupancy level.
Fig. 5 is a kind of server architecture schematic diagram provided by the embodiments of the present application.The server 400 can be because of configuration or performance
It is different and generate bigger difference, one or more central processing units (central processing can be included
Units, CPU) 422 (for example, one or more processors) and memory 432, one or more storages are using journey
The storage medium 430 of sequence 442 or data 444 (such as one or more mass memory units).Wherein, 432 He of memory
Storage medium 430 can be of short duration storage or persistent storage.Be stored in storage medium 430 program can include one or
More than one module (diagram does not mark), each module can include operating the series of instructions in server.Further
Ground, central processing unit 422 could be provided as communicating with storage medium 430, be performed on server 400 in storage medium 430
Series of instructions operates.
Server 400 can also include one or more power supplys 426, one or more wired or wireless networks
Interface 450, one or more input/output interfaces 758, one or more keyboards 456 and/or, one or one
More than operating system 441, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Central processing unit 422 can perform the instruction of following operation on server 400:
Obtain the resource load state of each application cluster under cloud environment;
The resource load rank of the application cluster is determined according to the resource load state;The resource load rank bag
It includes resource and is fully loaded with rank and other ranks;
The application cluster application resource of rank is fully loaded with for the resource;
The application cluster application resource that rank is fully loaded with if the resource fails, then discharges other according to resource load rank
The resource of the application cluster of rank;
The resource allocation of the release is fully loaded with to the application cluster of rank to the resource.
Optionally, which can have the function of as follows:
When flowing of access is promoted, the resource load state of each application cluster under cloud environment is obtained.
Optionally, resource pool is included under the cloud environment, which can have the function of as follows:
To the resource pool application resource;
When the resource abundance of the resource pool, then the application cluster that rank is fully loaded with for the resource distributes the resource pool
Middle resource;
When the resource exhaustion of the resource pool, then the application cluster application resource failure of rank is fully loaded with for the resource.
Optionally, the application cluster has corresponding priority, which can have the function of as follows:
It is resource according to the priority when the application cluster that the resource is fully loaded with rank is two or more
The application cluster of fully loaded rank distributes resource in the resource pool.
Optionally, the resource load rank has corresponding releasing ratio, which can have such as
Lower function:
Determine the corresponding releasing ratio of resource load rank of the application cluster of other ranks;
The resource of the application cluster of other ranks is discharged according to the releasing ratio;
By the resource conservation of the release into resource pool.
Optionally, which can have the function of as follows:
Obtain the Current resource of the application cluster of other ranks;
Obtain the current accessed flow of the application cluster of other ranks;
Demand resource is calculated using the current accessed flow and default unit limiting value;
The idling-resource of the application cluster of other ranks is determined using the Current resource and the demand resource;
The idling-resource is discharged according to the releasing ratio.
Optionally, which can have the function of as follows:
To the resource pool application resource of the resource for preserving release;
The application cluster that rank is fully loaded with for the resource distributes the resource discharged in the resource pool.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with
The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present application can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output
Interface, network interface and memory.Memory may include the volatile memory in computer-readable medium, random access memory
The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate
The example of machine readable medium.Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be with
Realize that information stores by any method or technique.Information can be computer-readable instruction, data structure, the module of program or
Other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc are read-only
Memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic rigid disk storage or
Other magnetic storage apparatus or any other non-transmission medium, the information that can be accessed by a computing device available for storage.According to
Herein defines, and computer-readable medium does not include the computer readable media (transitory media) of non-standing, such as
The data-signal and carrier wave of modulation.
The embodiment of the present application is with reference to according to the method for the embodiment of the present application, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that it can realize flowchart and/or the block diagram by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction generation is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device for the function of specifying.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates bag
The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or multiple flows
And/or specified in one box of block diagram or multiple boxes function the step of.
Although the preferred embodiment of the embodiment of the present application has been described, those skilled in the art once know base
This creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed to
Including preferred embodiment and fall into all change and modification of the embodiment of the present application scope.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped
Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited
Element, it is not excluded that also there are other identical elements in the process including the element, method, article or terminal device.
It, should under a kind of cloud environment above to the method for application cluster resource allocation under a kind of cloud environment provided herein
With a kind of system of application cluster resource allocation under cluster resource assigned unit and cloud environment, it is described in detail, this
Specific case is applied in text, and the principle and implementation of this application are described, the explanation of above example is only intended to
Help understands the present processes and its core concept;Meanwhile for those of ordinary skill in the art, the think of according to the application
Think, in specific embodiments and applications there will be changes, in conclusion this specification content should not be construed as pair
The limitation of the application.
Claims (17)
1. a kind of system of application cluster resource allocation under cloud environment, which is characterized in that the system comprises:
One or more processors;
Memory;With
One or more modules, one or more of modules be stored in the memory and be configured to by one or
Multiple processors perform, and one or more of modules have the function of as follows:
Obtain the resource utilization of each application cluster in given transaction link under cloud environment;
The resource load rank of each application cluster is determined according to the resource utilization;The resource load rank is accounted for including height
With rank and low occupancy level;
For the application cluster application resource of the high occupancy level;
Fail if the application cluster application resource of the high occupancy level, then discharge low occupancy level according to resource load rank
Application cluster resource;
The resource allocation of the release is given to the application cluster of the high occupancy level.
2. a kind of method of application cluster resource allocation under cloud environment, which is characterized in that including:
Obtain the resource utilization of each application cluster in given transaction link under cloud environment;
The resource load rank of each application cluster is determined according to the resource utilization;The resource load rank is accounted for including height
With rank and low occupancy level;
For the application cluster application resource of the high occupancy level;
Fail if the application cluster application resource of the high occupancy level, then discharge low occupancy level according to resource load rank
Application cluster resource;
The resource allocation of the release is given to the application cluster of the high occupancy level.
3. according to the method described in claim 2, it is characterized in that, each in given transaction link under the acquisition cloud environment should
Included with the step of resource utilization of cluster:
When flowing of access is promoted, the resource utilization of each application cluster in given transaction link under cloud environment is obtained.
4. according to the method described in claim 2, it is characterized in that, including resource pool under the cloud environment, described is high occupy
The step of application cluster application resource of rank, includes:
To the resource pool application resource;
When the resource abundance of the resource pool, then the application cluster for the high occupancy level, which is distributed in the resource pool, provides
Source;
When the resource exhaustion of the resource pool, then fail for the application cluster application resource of the high occupancy level.
5. according to the method described in claim 4, it is characterized in that, the application cluster have corresponding priority, it is described to be
Include in the application cluster distribution resource pool of high occupancy level the step of resource:
It is high occupancy level according to the priority when the application cluster of the high occupancy level is two or more
Application cluster distribute resource in the resource pool.
6. the method according to claim 2 or 4, which is characterized in that the resource load rank has corresponding release ratio
The step of example, the resource of the application cluster that low occupancy level is discharged according to resource load rank, includes:
Determine the corresponding releasing ratio of resource load rank of the application cluster of low occupancy level;
The resource of the application cluster of the low occupancy level is discharged according to the releasing ratio;
By the resource conservation of the release into resource pool.
7. according to the method described in claim 6, it is characterized in that, described discharge the low occupancy level according to releasing ratio
The step of resource of application cluster, includes:
Obtain the Current resource of the application cluster of the low occupancy level;
Obtain the current accessed flow of the application cluster of the low occupancy level;
Demand resource is calculated using the current accessed flow and default unit limiting value;
The idling-resource of the application cluster of the low occupancy level is determined using the Current resource and the demand resource;
The idling-resource is discharged according to the releasing ratio.
8. the method according to claim 2 or 4, which is characterized in that the resource allocation by release is to the high occupancy
The step of application cluster of rank, includes:
To the resource pool application resource of the resource for preserving release;
The resource discharged in the resource pool is distributed for the application cluster of the high occupancy level.
9. a kind of device of application cluster resource allocation under cloud environment, which is characterized in that including:
Resource utilization acquisition module uses for obtaining the resource of each application cluster in given transaction link under cloud environment
Rate;
Resource load rank determination module, for determining the resource load grade of each application cluster according to the resource utilization
Not;The resource load rank includes high occupancy level and low occupancy level;
Resource bid acquisition module, for the application cluster application resource for the high occupancy level;
Resource release module, for failing if the application cluster application resource of the high occupancy level, then according to resource load
Rank discharges the resource of the application cluster of low occupancy level;
Resource distribution module, for the resource allocation of the release to be given to the application cluster of the high occupancy level.
10. a kind of method of application cluster resource allocation under cloud environment, which is characterized in that including:
Obtain the resource load state of each application cluster under cloud environment;
The resource load rank of the application cluster is determined according to the resource load state;The resource load rank includes money
It is fully loaded with rank and other ranks in source;
The application cluster application resource of rank is fully loaded with for the resource;
The application cluster application resource that rank is fully loaded with if the resource fails, then discharges other ranks according to resource load rank
Application cluster resource;
The resource allocation of the release is fully loaded with to the application cluster of rank to the resource.
11. the according to the method described in claim 10, it is characterized in that, resource for obtaining each application cluster under cloud environment
The step of load condition, includes:
When flowing of access is promoted, the resource load state of each application cluster under cloud environment is obtained.
12. according to the method described in claim 10, it is characterized in that, including resource pool under the cloud environment, described is resource
The step of application cluster application resource of fully loaded rank, includes:
To the resource pool application resource;
When the resource abundance of the resource pool, then it is fully loaded in the application cluster distribution resource pool of rank and provides for the resource
Source;
When the resource exhaustion of the resource pool, then the application cluster application resource failure of rank is fully loaded with for the resource.
13. according to the method for claim 12, which is characterized in that the application cluster has corresponding priority, described
The step of resource in the application cluster distribution resource pool of rank is fully loaded with for resource includes:
When the application cluster that the resource is fully loaded with rank is two or more, it is fully loaded with according to the priority for resource
The application cluster of rank distributes resource in the resource pool.
14. the method according to claim 10 or 12, which is characterized in that the resource load rank has corresponding release
The step of ratio, the resource of the application cluster that other ranks are discharged according to resource load rank, includes:
Determine the corresponding releasing ratio of resource load rank of the application cluster of other ranks;
The resource of the application cluster of other ranks is discharged according to the releasing ratio;
By the resource conservation of the release into resource pool.
15. according to the method for claim 14, which is characterized in that described to discharge the other application collection according to releasing ratio
The step of resource of group, includes:
Obtain the Current resource of the application cluster of other ranks;
Obtain the current accessed flow of the application cluster of other ranks;
Demand resource is calculated using the current accessed flow and default unit limiting value;
The idling-resource of the application cluster of other ranks is determined using the Current resource and the demand resource;
The idling-resource is discharged according to the releasing ratio.
16. the method according to claim 10 or 12, which is characterized in that the resource allocation by release gives the resource
The step of application cluster of fully loaded rank, includes:
To the resource pool application resource of the resource for preserving release;
The application cluster that rank is fully loaded with for the resource distributes the resource discharged in the resource pool.
17. a kind of device of application cluster resource allocation under cloud environment, which is characterized in that including:
Resource load state acquisition module, for obtaining the resource load state of each application cluster under cloud environment;
Resource load rank determination module, for determining the resource load grade of the application cluster according to the resource load state
Not;The resource load rank is fully loaded with rank and other ranks including resource;
Resource bid module, for being fully loaded with the application cluster application resource of rank for the resource;
Resource release module, for when being fully loaded with the application cluster application resource failure of rank for the resource, being born according to resource
Carry the resource that rank discharges the application cluster of other ranks;
Resource distribution module is discharged, for the resource allocation of the release to be fully loaded with to the application cluster of rank to the resource.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610982629.XA CN108063784B (en) | 2016-11-08 | 2016-11-08 | Method, device and system for distributing application cluster resources in cloud environment |
TW106127139A TWI755415B (en) | 2016-11-08 | 2017-08-10 | Method, device and system for application cluster resource allocation in cloud environment |
PCT/CN2017/108252 WO2018086467A1 (en) | 2016-11-08 | 2017-10-30 | Method, apparatus and system for allocating resources of application clusters under cloud environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610982629.XA CN108063784B (en) | 2016-11-08 | 2016-11-08 | Method, device and system for distributing application cluster resources in cloud environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108063784A true CN108063784A (en) | 2018-05-22 |
CN108063784B CN108063784B (en) | 2022-01-25 |
Family
ID=62109433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610982629.XA Active CN108063784B (en) | 2016-11-08 | 2016-11-08 | Method, device and system for distributing application cluster resources in cloud environment |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN108063784B (en) |
TW (1) | TWI755415B (en) |
WO (1) | WO2018086467A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109446069A (en) * | 2018-09-26 | 2019-03-08 | 平安普惠企业管理有限公司 | Compatibility test method, device, computer equipment and medium |
CN110597623A (en) * | 2019-08-13 | 2019-12-20 | 平安普惠企业管理有限公司 | Container resource allocation method and device, computer equipment and storage medium |
CN112350952A (en) * | 2020-10-28 | 2021-02-09 | 武汉绿色网络信息服务有限责任公司 | Controller distribution method and network service system |
CN112860403A (en) * | 2021-02-22 | 2021-05-28 | 中国联合网络通信集团有限公司 | Cluster load resource scheduling method, device, equipment, medium and product |
CN112882825A (en) * | 2019-11-29 | 2021-06-01 | 北京国双科技有限公司 | Method, device and equipment for allocating storage resources |
CN113965611A (en) * | 2021-10-29 | 2022-01-21 | 重庆忽米网络科技有限公司 | SaaS (software as a service) industrial APP (application) operation method based on resource release and recovery |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112199251B (en) * | 2020-09-25 | 2022-04-29 | 同程网络科技股份有限公司 | Method, system and device for realizing dynamic increase and decrease of servers through timing tasks |
CN114218560B (en) * | 2022-02-22 | 2023-04-25 | 湖北芯擎科技有限公司 | Resource access method, device, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120166630A1 (en) * | 2010-12-23 | 2012-06-28 | Electronics And Telecommunications Research Institute | Dynamic load balancing system and method thereof |
CN103248659A (en) * | 2012-02-13 | 2013-08-14 | 北京华胜天成科技股份有限公司 | Method and system for dispatching cloud computed resources |
CN103533086A (en) * | 2013-10-31 | 2014-01-22 | 中国科学院计算机网络信息中心 | Uniform resource scheduling method in cloud computing system |
CN103634330A (en) * | 2012-08-20 | 2014-03-12 | 曙光信息产业(北京)有限公司 | Automatic resource distribution method in cloud calculation environment |
US20140157274A1 (en) * | 2011-07-06 | 2014-06-05 | Microsoft Corporation | Offering network performance guarantees in multi-tenant datacenters |
CN103856512A (en) * | 2012-11-30 | 2014-06-11 | 华为技术有限公司 | Cloud computing management server, working host, idle host and resource scheduling method |
CN104079503A (en) * | 2013-03-27 | 2014-10-01 | 华为技术有限公司 | Method and device of distributing resources |
CN104268018A (en) * | 2014-09-22 | 2015-01-07 | 浪潮(北京)电子信息产业有限公司 | Job scheduling method in Hadoop cluster and job scheduler |
CN105955826A (en) * | 2016-05-10 | 2016-09-21 | 广东睿江云计算股份有限公司 | Control method and device of quality of service in cloud host system |
CN106033371A (en) * | 2015-03-13 | 2016-10-19 | 杭州海康威视数字技术股份有限公司 | Method and system for dispatching video analysis task |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9262231B2 (en) * | 2012-08-07 | 2016-02-16 | Advanced Micro Devices, Inc. | System and method for modifying a hardware configuration of a cloud computing system |
US9417919B2 (en) * | 2012-09-06 | 2016-08-16 | Hewlett Packard Enterprise Development Lp | Computer cluster with objective-based resource sharing |
CN102929715B (en) * | 2012-10-31 | 2015-05-06 | 曙光云计算技术有限公司 | Method and system for scheduling network resources based on virtual machine migration |
CN103763346B (en) * | 2013-12-31 | 2017-07-25 | 华为技术有限公司 | A kind of distributed resource scheduling method and device |
TWI552002B (en) * | 2014-04-22 | 2016-10-01 | 財團法人工業技術研究院 | Method and system for dynamic instance deployment of public cloud |
-
2016
- 2016-11-08 CN CN201610982629.XA patent/CN108063784B/en active Active
-
2017
- 2017-08-10 TW TW106127139A patent/TWI755415B/en active
- 2017-10-30 WO PCT/CN2017/108252 patent/WO2018086467A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120166630A1 (en) * | 2010-12-23 | 2012-06-28 | Electronics And Telecommunications Research Institute | Dynamic load balancing system and method thereof |
US20140157274A1 (en) * | 2011-07-06 | 2014-06-05 | Microsoft Corporation | Offering network performance guarantees in multi-tenant datacenters |
CN103248659A (en) * | 2012-02-13 | 2013-08-14 | 北京华胜天成科技股份有限公司 | Method and system for dispatching cloud computed resources |
CN103634330A (en) * | 2012-08-20 | 2014-03-12 | 曙光信息产业(北京)有限公司 | Automatic resource distribution method in cloud calculation environment |
CN103856512A (en) * | 2012-11-30 | 2014-06-11 | 华为技术有限公司 | Cloud computing management server, working host, idle host and resource scheduling method |
CN104079503A (en) * | 2013-03-27 | 2014-10-01 | 华为技术有限公司 | Method and device of distributing resources |
CN103533086A (en) * | 2013-10-31 | 2014-01-22 | 中国科学院计算机网络信息中心 | Uniform resource scheduling method in cloud computing system |
CN104268018A (en) * | 2014-09-22 | 2015-01-07 | 浪潮(北京)电子信息产业有限公司 | Job scheduling method in Hadoop cluster and job scheduler |
CN106033371A (en) * | 2015-03-13 | 2016-10-19 | 杭州海康威视数字技术股份有限公司 | Method and system for dispatching video analysis task |
CN105955826A (en) * | 2016-05-10 | 2016-09-21 | 广东睿江云计算股份有限公司 | Control method and device of quality of service in cloud host system |
Non-Patent Citations (1)
Title |
---|
陈林君: "集群系统中负载均衡模块的设计与实现", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109446069A (en) * | 2018-09-26 | 2019-03-08 | 平安普惠企业管理有限公司 | Compatibility test method, device, computer equipment and medium |
CN110597623A (en) * | 2019-08-13 | 2019-12-20 | 平安普惠企业管理有限公司 | Container resource allocation method and device, computer equipment and storage medium |
CN112882825A (en) * | 2019-11-29 | 2021-06-01 | 北京国双科技有限公司 | Method, device and equipment for allocating storage resources |
CN112350952A (en) * | 2020-10-28 | 2021-02-09 | 武汉绿色网络信息服务有限责任公司 | Controller distribution method and network service system |
CN112860403A (en) * | 2021-02-22 | 2021-05-28 | 中国联合网络通信集团有限公司 | Cluster load resource scheduling method, device, equipment, medium and product |
CN112860403B (en) * | 2021-02-22 | 2023-11-07 | 中国联合网络通信集团有限公司 | Cluster load resource scheduling method, device, equipment, medium and product |
CN113965611A (en) * | 2021-10-29 | 2022-01-21 | 重庆忽米网络科技有限公司 | SaaS (software as a service) industrial APP (application) operation method based on resource release and recovery |
Also Published As
Publication number | Publication date |
---|---|
TW201818244A (en) | 2018-05-16 |
CN108063784B (en) | 2022-01-25 |
TWI755415B (en) | 2022-02-21 |
WO2018086467A1 (en) | 2018-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108063784A (en) | The methods, devices and systems of application cluster resource allocation under a kind of cloud environment | |
CN104123189B (en) | A kind of Web multilayer application dynamic resource methods of adjustment perceived based on the application of IaaS layers | |
US10243879B2 (en) | Intelligent placement within a data center | |
CN108182105B (en) | Local dynamic migration method and control system based on Docker container technology | |
US11698817B2 (en) | Application link resource scaling method, apparatus, and system based on concurrent stress testing of plural application links | |
CN108023742A (en) | A kind of expansion method of application, device and system | |
CN103336722B (en) | A kind of CPU resources of virtual machine monitoring and dynamic allocation method | |
CN103916438B (en) | Cloud testing environment scheduling method and system based on load forecast | |
CN108076082A (en) | A kind of expansion method of application cluster, device and system | |
Gupta et al. | Survey on virtual machine placement techniques in cloud computing environment | |
CN103473115B (en) | virtual machine placement method and device | |
CN105308553B (en) | Dynamic provides storage | |
CN105808341B (en) | A kind of methods, devices and systems of scheduling of resource | |
US9971971B2 (en) | Computing instance placement using estimated launch times | |
CN104375897A (en) | Cloud computing resource scheduling method based on minimum relative load imbalance degree | |
CN104484222A (en) | Virtual machine dispatching method based on hybrid genetic algorithm | |
US11500691B2 (en) | Predictive scaling of datacenters | |
CN103605578A (en) | Load balance scheduling method based on virtual machine migration | |
CN110196775A (en) | A kind of calculating task processing method, device, equipment and readable storage medium storing program for executing | |
CN109491788A (en) | A kind of virtual platform implementation of load balancing and device | |
CN110401695A (en) | Cloud resource dynamic dispatching method, device and equipment | |
CN103488538B (en) | Application extension device and application extension method in cloud computing system | |
CN115134371A (en) | Scheduling method, system, equipment and medium containing edge network computing resources | |
CN104572298B (en) | The resource regulating method and device of video cloud platform | |
CN105045667A (en) | Resource pool management method for vCPU scheduling of virtual machines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |