CN104468755B - The method and apparatus for realizing application performance guarantee - Google Patents

The method and apparatus for realizing application performance guarantee Download PDF

Info

Publication number
CN104468755B
CN104468755B CN201410705949.1A CN201410705949A CN104468755B CN 104468755 B CN104468755 B CN 104468755B CN 201410705949 A CN201410705949 A CN 201410705949A CN 104468755 B CN104468755 B CN 104468755B
Authority
CN
China
Prior art keywords
resource
quota
permission
type
configuring request
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.)
Active
Application number
CN201410705949.1A
Other languages
Chinese (zh)
Other versions
CN104468755A (en
Inventor
雷磊
王志军
房秉毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410705949.1A priority Critical patent/CN104468755B/en
Publication of CN104468755A publication Critical patent/CN104468755A/en
Application granted granted Critical
Publication of CN104468755B publication Critical patent/CN104468755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5051Service on demand, e.g. definition and deployment of services in real time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The present invention provides a kind of method and apparatus for realizing application performance guarantee, including:The resource for pre-setting user promotes rights parameters;It when receiving configuration application request, determines that configuring request applies required resource type, rights parameters is promoted according to resource, judge the available resources whether user has configuring request to apply required resource type;If it is judged that applying the available resources of required resource type without configuring request, rights parameters are promoted according to resource, judge whether user has the permission for promoting resource;If it is judged that have the permission for promoting resource, and the promotion resource of the required resource type of assignment configuration request application, configuring request application.The present invention is capable of providing elasticity and flexible resource distribution, to lead to problems such as application crashes provide mechanism guarantee when solving no available resources.

Description

The method and apparatus for realizing application performance guarantee
Technical field
The present invention relates to technical field of data transmission more particularly to a kind of method and apparatus for realizing application performance guarantee.
Background technology
With the fierceness of telecommunication market competition, operator expands new business one after another, cloud computing be expansion new business it One, wherein platform, which services (PaaS, Platform-as-a-Service), to be serviced towards developer, and elastic telescopic is provided The platform of middleware services and application deployment.In recent years, master is increasingly becoming based on lightweight linux container structure PaaS platform Stream, as the OpenShift of Open Source Platform Cloud Foundry and Red Hat companies is all made of this mode.Linux container can To encapsulate the application of various middleware systems and user well, user need not build message-oriented middleware, database, application again The middleware systems such as container, it is only necessary to illustrate in simple demand file, PaaS platform will be adapted to for it automatically.Therefore, The numerous underlying platforms of PaaS platform set, middleware and application development tool, the one-to-one product delivery method of transformation tradition are The service offering mode of high in the clouds share-type, to which entire exploitation, deployment and client are taken for enterprise tradition IT and application developer The life cycle of business, which is moved to, creates condition on cloud.
Because it is quite ripe that cloud data center provides the services such as elastic calculation and elastic storage, PaaS platform layer It is capable of providing good resource expansion and elastic telescopic ability, however, the resource quota of user and the prominent peak value for meeting Rush Hour How to cope with and remains a serious problem.
For example, when tenant uses the carrying service that PaaS platform provides, it is necessary first to determine the use of various Service Sources Quota (CPU, memory, disk space, network bandwidth, middleware memory space, storage space of database etc.), these quota restrictions Using the maximum value of resource.This fixed quota mechanism underaction, such as:When certain resource reaches quota, His resource may and not up to quota, and at this time application power can not elasticity expand, may cause to apply delay machine or refusal Service;When asking cumulative, in some instances it may even be possible to cause application crashes.PaaS platform can not recycle these resources, especially rent There are multiple users at family, and when being shared between each user of these resource quotas in tenant, this problem is more prominent.
In order to avoid there is the problems such as using delay machine or application crashes, generally use configures larger quota to solve, past The resource quota for being 50% toward meeting configuring redundancy degree, that is, the resource quota bought is 200% or more of normal demand, so excessive Resource quota can result in waste of resources, reduce attraction of the PaaS platform to user.
Invention content
In order to solve the above technical problem, the present invention provides a kind of method and apparatus for realizing application performance guarantee, energy It is enough that elasticity and flexible resource distribution are provided, it is protected to lead to problems such as application crashes provide mechanism when solving no available resources Barrier.
In order to reach the object of the invention, the present invention provides a kind of methods for realizing application performance guarantee, including:It sets in advance The resource for setting user promotes rights parameters;When receiving configuration application request, determine configuring request using required resources-type Type promotes rights parameters according to the resource, judges the available money whether user has configuring request to apply required resource type Source;If it is judged that applying the available resources of required resource type without configuring request, permission ginseng is promoted according to the resource Number, judges whether user has the permission for promoting resource;If it is judged that there is the permission for promoting resource, institute is applied in assignment configuration request The promotion resource of the resource type needed, configuring request application.
Further, the determining configuring request further includes using before required resource type:Establish application and configuration Using the correspondence of required resource type, the resource type include at least CPU, memory, disk space, network bandwidth, Middleware memory space or storage space of database.
Further, the resource promotes rights parameters and includes at least resource remaining sum and resource quota;The judgement user Whether there is the configuring request to include using the available resources of required resource type:It calculates configuring request and applies required resource type Resource consumption, if resource remaining sum be greater than or equal to configuring request apply required resource type resource consumption, and ask The resource quota of application is greater than or equal to the resource consumption that configuring request applies required resource type, then judges have configuration to ask Seek the available resources using required resource type;If resource remaining sum is less than the money that configuring request applies required resource type Source consumes or the resource quota of the application is less than the resource consumption that configuring request applies required resource type, then judges There is no configuring request to apply the available resources of required resource type.
Further, it includes permission vector sum quota upgrading number that the resource, which promotes rights parameters,;The judgement user Whether have promoted resource permission include:If the state of the permission vector is to have the permission for promoting resource, and the quota There is residue degree in upgrading number, then judges there is the permission for promoting resource;If the state of the permission vector is not carry The permission in source of increasing salary or the quota, which upgrade in number, does not have residue degree, then judges the permission for not promoting resource;Institute The matrix for stating permission vector is:Wherein, i=1,2 ..., k;Work as piWhen=1, indicate to promote i-th kind The permission of resource, works as piWhen=0, the permission without promoting i-th kind of resource is indicated.
Further, the resource promoted rights parameters include after quota upgrading resource whether share;The judgement user Whether have promoted resource permission include:If the whether shared state of resource is that resource is total after quota upgrades after the quota upgrading It enjoys, then judges there is the permission for promoting resource.
Further, it includes quota upgrading granularity that the resource, which promotes rights parameters,;Institute is applied in the assignment configuration request The promotion resource of resource type needed includes:The quota in permission is promoted according to resource and upgrades granularity, more than the resource Increase the promotion resource that configuring request applies required resource type in volume and the resource quota;The assignment configuration request is answered Further include later with the promotion resource of required resource type:Subtract one in the quota upgrades number.
A kind of device for realizing application performance guarantee, including:Setup module, the resource for user to be arranged promote permission ginseng Number;First judgment module, for when receiving configuration application request, determining that configuring request applies required resource type, root Rights parameters are promoted according to the resource, judge the available resources whether user has configuring request to apply required resource type;The Two judgment modules, for judging that no configuring request applies the available money of required resource type in first judgment module Source promotes rights parameters according to the resource, judges whether user has the permission for promoting resource;Distribution module, for described When second judgment module is judged to have the permission for promoting resource, the promotion of the required resource type of assignment configuration request application provides Source;Configuration module, after asking the promotion resource using required resource type for the distribution module assignment configuration, configuration is asked Ask application.
Further, described device further includes:Relationship establishes module, and required resource is applied for establishing application and configuration The correspondence of type, the resource type include at least CPU, memory, disk space, network bandwidth, middleware memory space Or storage space of database.
Further, it includes permission vector, the upgrading of resource remaining sum, resource quota, quota that the resource, which promotes rights parameters, Whether resource is shared after granularity, quota upgrading number and quota upgrading, wherein the matrix of the permission vector is:Wherein, i=1,2 ..., k;Work as piWhen=1, indicates the permission for promoting i-th kind of resource, work as pi=0 When, indicate the permission without promoting i-th kind of resource.
Further, first judgment module is for judging whether user has configuring request to apply required resource type Available resources be specially:Calculate configuring request apply required resource type resource consumption, if resource remaining sum be more than or Equal to the resource consumption that configuring request applies required resource type, and asks the resource quota of application to be greater than or equal to configuration and ask The resource consumption using required resource type is sought, then judges the available money for having configuring request to apply required resource type Source;If resource remaining sum is less than configuring request using the resource consumption of required resource type or the resource quota of the application Less than the resource consumption that configuring request applies required resource type, then judge no configuring request using required resources-type The available resources of type;Second judgment module be used for judge user whether have promoted resource permission be specially:If described The state of permission vector is to have the permission for promoting resource, and have residue degree in quota upgrading number, then judges to carry It increases salary the permission in source;If the state of the permission vector is the permission or quota upgrading number without promoting resource In there is no residue degree, then judge the permission for not promoting resource;Alternatively, if whether resource is shared after quota upgrading State is resource-sharing after quota upgrading, then judges there is the permission for promoting resource;The distribution module is asked for assignment configuration It asks and is specially using the promotion resource of required resource type:The distribution module be used for according to resource promoted permission in described in Quota upgrades granularity, increases configuring request carrying using required resource type in the resource remaining sum and the resource quota It increases salary source.
Compared with prior art, the present invention includes:The resource for pre-setting user promotes rights parameters;It is configured when receiving It when application request, determines that configuring request applies required resource type, rights parameters is promoted according to the resource, judge that user is The no available resources for thering is configuring request to apply required resource type;If it is judged that applying required resource without configuring request The available resources of type promote rights parameters according to the resource, judge whether user has the permission for promoting resource;If it is determined that Go out the permission for having and promoting resource, the promotion resource of the required resource type of assignment configuration request application, configuring request application.This hair The bright resource by the way that user is arranged promotes rights parameters, can be in the case of no available resources, to having permission promotion resource User's assignment configuration apply required resource type promotion resource, so as to provide elasticity and flexible resource distribution, To lead to problems such as application crashes provide mechanism guarantee when solving no available resources, being effectively prevented from application can not configure and make At the risk of traffic lost.
Description of the drawings
Fig. 1 is the flow diagram for the method that the present invention realizes application performance guarantee.
Fig. 2 is the structural schematic diagram for the device that the present invention realizes application performance guarantee.
Specific implementation mode
The present invention is further described in detail below in conjunction with the accompanying drawings.Shown by these implementations of description detailed enough Example so that those skilled in the art can put into practice the present invention.It without departing from the spirit and scope in the present invention, can be right Implement to make logic, realize and others change.
In the present invention, bandwidth is shared between multi-user, formation group between shared multi-user, and multiple user groups, which are formed, rents Family, to form the user model of classification, wherein
There is user (User) independent individual of shared bandwidth access right to be known as user, and operator is identified with User ID One isolated user, each user are under the jurisdiction of 1 user group, to the user with different ID, can be considered being different user.
There is user group (Group) collection of similar permission or the independent individual for belonging to same organization to be collectively referred to as using Family group, operator identify a user group in the form of user group ID, and user group may include that 1 arrives m user, and m is integer.
Tenant (Tenant), bandwidth actual subscription person, lower that 1 can be divided to arrive n user group, n is integer.
Fig. 1 is the flow diagram for the method that the present invention realizes application performance guarantee, as shown in Figure 1, specifically including:
Step 11, the resource for pre-setting user promotes rights parameters.
In this step, it includes permission vector, resource remaining sum, resource quota, quota upgrading grain that resource, which promotes rights parameters, Degree, quota upgrading number and quota upgrading after resource whether shared parameter, wherein
Permission vector (Privilege Vector), for indicating that each user or user group have permission vector, for k Kind resource, permission vector indicate as follows:Wherein, i=1,2 ..., k;
Work as piWhen=1, representing user or user group has the permission for promoting i-th kind of resource threshold values, works as piWhen=0, represents and use Family or user group do not have the permission for promoting i-th kind of resource threshold values;Each user and user group permission vector have been set by tenant At;
Resource remaining sum (Balance), for indicating that each user, user group or tenant have using the remaining of specific resources Volume is indicated with remaining sum vector:B=(b1, b2... bk);
Wherein, biB can be used by representing user or user groupiI-th kind of resource of unit, if bi=NaN, representative pair The resource remaining sum of i-th kind of resource is without limitation;
Resource quota (Qouta), for indicating that each user, user group or tenant have the quota category using the resource Property, it is indicated with quota vector:
Q=(q1, q2... qk);
Wherein qiQ can at most be used by representing user or user groupiI-th kind of resource of unit, if qi=NaN is represented To the resource quota of i-th kind of resource without limitation;
Quota upgrades granularity (Step), if can upgrade quota for indicating that each user, user group or tenant have The ability of limitation, then the granule size of its each upgrading resource quota, is indicated with quota upgrading granularity vector:
S=(s1, s2... sk);
Wherein siS can once be increased by representing user or user groupiI-th kind of resource quota of unit, if si=NaN, It represents and granularity is upgraded without limitation to the quota of i-th kind of resource;
Quota upgrades number (Count), if can upgrade flow for indicating that each user, user group or tenant have The ability of limitation, then at most it is scalable several times, with quota upgrade Vector of degree
Cn=(cn1, cn2... cnk);
Wherein cniFor integer, i-th kind of resource quota several times can be upgraded by representing user or user group at most, if cni =NaN is represented and is upgraded number without limitation to the quota of i-th kind of resource;
Whether resource is shared (Shareable) after quota upgrading, if for indicating each user, user group or tenant's tool The ability of resource quota can be upgraded by having, then can be arranged whether the resource quota after upgrading shares to other users use, with one A boolean categorical variables shareable is indicated.
Step 12, when receiving configuration application request, determine that configuring the request applies required resource type, according to money Source promotes rights parameters, judges whether there is and configures the available resources for applying required resource type, if not provided, entering step 13;If so, required resource is applied in the assignment configuration request, 15 are entered step.
Before this step, the correspondence of application and the required resource type of configuration application, wherein resource type are established Including CPU, memory, disk space, network bandwidth, middleware memory space, storage space of database etc..
In this step, rights parameters are promoted according to resource, judging whether there is configuration, this applies required resource type Available resources, including:It calculates and configures the resource consumption for applying required resource type, the money in permission is promoted according to resource The resource remaining sum and resource quota parameter of Source Type judge whether there is and configure the available resources for applying required resource type.
It judges whether there is and configures the available resources for applying required resource type, including:If resource remaining sum be more than or The resource consumption for applying required resource type equal to configuration, and the resource quota of the application is more than or equal to the configuration application The resource consumption of required resource type, then judging to have the configuration, this applies the available resources of required resource type;If Resource remaining sum is less than the configuration resource consumption using required resource type or the resource quota of the application should less than configuration Using the resource consumption of required resource type, then judge not configuring the available resources for applying required resource type.
After the assignment configuration request is using required resource, can also include:In resource remaining sum and resource quota It subtracts and configures the resource consumption for applying required resource type.
For example, it is assumed that Paas platforms are provided if any k kind resources, such as CPU, memory, disk space, network bandwidth, centre Part memory space, storage space of database etc., resource consumption using price using being calculated, and the use prices of various resources is with one A vector<c1, c2..., ck>It indicates, i.e., the use of the unit price of i-th kind of resource is ci
Assuming that user UiConfigure certain application, configure the application need using t kind resources when, then can be to t kind resources Carry out calculation of price, expense fee=ct*quantity.If resource remaining sum, which is more than, configures this using required resource type Resource consumption If ((bt(Ui) > 0) & (bt(Ui)-fee > 0)), and the resource quota of the application is more than and configures this using required Resource consumption the If ((q of resource typet(Ui) > 0) & (qt(Ui)-fee > 0)), then have the configuration this using required resources-type The available resources of type.For user UiT kind resources needed for distribution, configuration is subtracted in resource remaining sum, and this applies required resource The resource consumption b of typet(Ui)=bt(Ui)-fee, it is subtracted in resource quota and configures the money for applying required resource type Source consumes qt(Ui)=qt(Ui)-fee。
Step 13, rights parameters are promoted according to resource, the permission for promoting resource is judged whether there is, if so, entering step 14;If not, entering step 16.
In this step, rights parameters are promoted according to resource, judges whether there is the permission for promoting resource, including:According to money Source promotes the permission vector sum quota in permission and upgrades count parameter, judges whether there is the permission for promoting resource.
The permission for promoting resource is judged whether there is, including:If the state of permission vector is to have the permission for promoting resource, and There is residue degree in quota upgrading number, then judges there is the permission for promoting resource;If the state of permission vector is not carry The permission in source of increasing salary or quota, which upgrade in number, does not have residue degree, then judges the permission for not promoting resource.
The permission for promoting resource is judged whether there is, can also include:If resource promotes the quota upgrading in rights parameters The whether shared state of resource is resource-sharing after quota upgrading afterwards, then judges there is the permission for promoting resource.
Step 14, assignment configuration this apply required resource type promotion resource;
In this step, distribution promotes bandwidth, including:The quota in permission, which is promoted, according to resource upgrades grain size parameter, Increase in resource remaining sum and resource quota and configures the promotion resource for applying required resource type.
For example, it is assumed that user UiCertain application is configured to need using t kinds inadequate resource and with the permission for promoting resource If(pt(Ui)=1), system is user UiDistribution promotes resource, stops service to avoid application, specifically, upgrades according to quota Granularity increases t kinds in resource remaining sum and promotes resource bt(Ui)=bt(Ui)+st(Ui), match in resource according to quota upgrading granularity Increase t kinds in volume and promotes resource qt(Ui)=qt(Ui)+st(Ui)。
After this step, further include:The cn that subtracts one in quota upgrades numbert(Ui)=cnt(Ui)-1。
Step 15, configuring request is applied and terminates this flow.
Step 16, refusal configuring request is applied and terminates this flow.
The present invention promotes rights parameters by pre-setting the resource of user, in the case of no available resources, to having The user of privilege-escalation resource is assigned with the promotion resource of the required resource type of configuration application, elastic and flexible to provide Resource distribution, for solve no available resources when lead to problems such as application crashes provide mechanism guarantee, efficiently avoid Using the risk for causing traffic lost can not be configured.
Fig. 2 is the structural schematic diagram that the present invention realizes application performance ensuring equipment, as shown in Fig. 2, can specifically include:
Setup module, the resource for pre-setting user promote rights parameters, and the wherein resource promotes rights parameters packet Whether total include resource after permission vector, resource remaining sum, resource quota, quota upgrading granularity, quota upgrading number and quota upgrade The parameters such as enjoy.
Relationship establishes module, the correspondence for establishing application and the required resource type of configuration application.
First judgment module, for when receiving configuration application request, determining that configuring the request applies required resource Type promotes rights parameters according to resource, judges whether there is and configures the available resources for applying required resource type.
Second judgment module, for the first judgment module judge not configure this using required resource type can When with resource, rights parameters are promoted according to resource, judge whether there is the permission for promoting resource.
Distribution module, for when the second judgment module judges to have the permission for promoting resource, assignment configuration this apply institute The promotion resource of the resource type needed.
Configuration module configures the available resources for applying required resource type for judging to have in the first judgment module When, alternatively, the second judgment module judge to have promoted resource permission and distribution module assignment configuration this apply required money After the promotion resource of Source Type, configuring request application;Judge that not configuring this applies required resource in the first judgment module The available resources of type, and judge in the second judgment module not promoted the permission of resource, refuse configuring request application.
The present invention realizes that application performance ensuring equipment is and realizes that the method for application performance guarantee is corresponding, therefore, this hair Bright to realize that application performance ensuring equipment concrete implementation details be referring to the method for realizing application performance guarantee, this will not be repeated here.
The resource promotion rights parameters of user are arranged by setup module by the present invention and the first judgment module and second is sentenced Judgement of the disconnected module to available resources and the permission for promoting resource, can carry in the case of no available resources to having permission Increase salary source user's assignment configuration apply required resource type promotion resource, so as to provide elasticity and flexible resource Configuration, to lead to problems such as application crashes provide mechanism guarantee when solving no available resources, being effectively prevented from application can not Configuration causes the risk of traffic lost.
It should be appreciated that feasible embodiment of the series of detailed descriptions listed above only for the present invention Illustrate, they are not intended to limit protection scope of the present invention, all without departing from equivalent made by technical spirit of the present invention Embodiment or change should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method for realizing application performance guarantee, which is characterized in that the resource for pre-setting user promotes rights parameters;Also Including:
When receiving configuration application request, determines that configuring request applies required resource type, promoted and weighed according to the resource Parameter is limited, judges the available resources whether user has configuring request to apply required resource type;
If it is judged that applying the available resources of required resource type without configuring request, permission ginseng is promoted according to the resource Number, judges whether user has the permission for promoting resource;
If it is judged that have the permission for promoting resource, and the promotion resource of the required resource type of assignment configuration request application, configuration Request application, specifically includes:
The resource promotes rights parameters:Quota upgrades granularity;
Upgrade granularity according to the quota, increases configuring request in resource quota and provided using the promotion of required resource type Source;
The resource promoted rights parameters include after quota upgrading resource whether share, for indicate each user, user group or If tenant has the ability that can upgrade resource quota, it can be arranged whether the resource quota after upgrading shares to other users It uses;Formation group between shared multi-user, multiple user groups form tenant.
2. according to the method described in claim 1, it is characterized in that, the determining configuring request using required resource type it Before, further include:Establish application and configuration application required resource type correspondence, the resource type include at least CPU, Memory, disk space, network bandwidth, middleware memory space or storage space of database.
3. according to the method described in claim 1, it is characterized in that, the resource, which promotes rights parameters, includes at least resource remaining sum And resource quota;
It is described to judge whether user has the configuring request to include using the available resources of required resource type:
The resource consumption that configuring request applies required resource type is calculated, if resource remaining sum is answered more than or equal to configuring request It is greater than or equal to configuring request with the resource quota of the resource consumption of required resource type, and request application and applies required money The resource consumption of Source Type then judges the available resources for having configuring request to apply required resource type;If resource remaining sum It is less than configuring request application using the resource consumption of required resource type or the resource quota of the application less than configuring request The resource consumption of required resource type then judges that no configuring request applies the available resources of required resource type.
4. according to the method described in claim 3, which is characterized in that it further includes permission vector that the resource, which promotes rights parameters, Upgrade number with quota;
It is described judge user whether have promoted resource permission include:If the state of the permission vector is to have to promote resource Permission, and have residue degree in quota upgrading number, then judge there is the permission for promoting resource;If the permission vector State be without promoted resource permission or the quota upgrading number in there is no residue degree, then judge not carry It increases salary the permission in source;
The matrix of the permission vector is:
P=(p1, p2... pk)
pi=0 | 1 wherein, i=1,2 ..., k;
Work as piWhen=1, indicates the permission for promoting i-th kind of resource, work as piWhen=0, the permission without promoting i-th kind of resource is indicated.
5. according to the method described in claim 3, which is characterized in that
It is described judge user whether have promoted resource permission include:If the whether shared state of resource is after the quota upgrading Resource-sharing after quota upgrading, then judge there is the permission for promoting resource.
6. method according to claim 4 or 5, which is characterized in that
The assignment configuration is asked:According in resource promotion permission Quota upgrades granularity, increases configuring request carrying using required resource type in the resource remaining sum and the resource quota It increases salary source;
Further include after the promotion resource of the required resource type of the assignment configuration request application:Upgrade number in the quota In subtract one.
7. a kind of realization application performance ensuring equipment, which is characterized in that including:
Setup module, the resource for pre-setting user promote rights parameters;
First judgment module, for when receiving configuration application request, determining that configuring request applies required resource type, root Rights parameters are promoted according to the resource, judge the available resources whether user has configuring request to apply required resource type;
Second judgment module, for judging no configuring request using required resource type in first judgment module Available resources promote rights parameters according to the resource, judge whether user has the permission for promoting resource;
Distribution module, for when second judgment module is judged to have the permission for promoting resource, assignment configuration request to be applied The promotion resource of required resource type;
Configuration module, after asking the promotion resource using required resource type for the distribution module assignment configuration, configuration Request application, specifically includes:
The resource promotes rights parameters:Quota upgrades granularity;
Upgrade granularity according to the quota, increases configuring request in resource quota and provided using the promotion of required resource type Source;
The resource promoted rights parameters include after quota upgrading resource whether share, for indicate each user, user group or If tenant has the ability that can upgrade resource quota, it can be arranged whether the resource quota after upgrading shares to other users It uses;Formation group between shared multi-user, multiple user groups form tenant.
8. device according to claim 7, which is characterized in that described device further includes:Relationship establishes module, for establishing Using and configuration application required resource type correspondence, the resource type include at least CPU, memory, disk space, Network bandwidth, middleware memory space or storage space of database.
9. device according to claim 7 or 8, which is characterized in that the resource promoted rights parameters include permission vector, Resource remaining sum, resource quota and quota upgrade number, wherein
The matrix of the permission vector is:
P=(p1, p2... pk)
pi=0 | 1 wherein, i=1,2 ..., k;
Work as piWhen=1, indicates the permission for promoting i-th kind of resource, work as piWhen=0, the permission without promoting i-th kind of resource is indicated.
10. according to the device described in claim 9, which is characterized in that whether first judgment module is for judging user There is the configuring request to be specially using the available resources of required resource type:Configuring request is calculated using required resource type Resource consumption, if resource remaining sum is greater than or equal to the resource consumption that configuring request applies required resource type, and request is answered Resource quota is greater than or equal to the resource consumption that configuring request applies required resource type, then judges there is configuring request Using the available resources of required resource type;If resource remaining sum is less than the resource that configuring request applies required resource type The resource quota of consumption or the application is less than the resource consumption that configuring request applies required resource type, then judges to haunt There is configuring request to apply the available resources of required resource type;
Second judgment module be used for judge user whether have promoted resource permission be specially:If the permission vector State is to have the permission for promoting resource, and have residue degree in quota upgrading number, then judges there is the power for promoting resource Limit;If the state of the permission vector is to upgrade in number without residue without the permission of promotion resource or the quota Number then judges the permission for not promoting resource;Alternatively, if the whether shared state of resource is quota after quota upgrading Resource-sharing after upgrading then judges there is the permission for promoting resource;
The distribution module is asked for assignment configuration:The distribution mould The quota that block is used to be promoted according to resource in permission upgrades granularity, increases in the resource remaining sum and the resource quota Configuring request applies the promotion resource of required resource type.
CN201410705949.1A 2014-11-27 2014-11-27 The method and apparatus for realizing application performance guarantee Active CN104468755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410705949.1A CN104468755B (en) 2014-11-27 2014-11-27 The method and apparatus for realizing application performance guarantee

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410705949.1A CN104468755B (en) 2014-11-27 2014-11-27 The method and apparatus for realizing application performance guarantee

Publications (2)

Publication Number Publication Date
CN104468755A CN104468755A (en) 2015-03-25
CN104468755B true CN104468755B (en) 2018-11-02

Family

ID=52914107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410705949.1A Active CN104468755B (en) 2014-11-27 2014-11-27 The method and apparatus for realizing application performance guarantee

Country Status (1)

Country Link
CN (1) CN104468755B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354564A (en) * 2016-08-31 2017-01-25 深圳天珑无线科技有限公司 System resource distribution method and system
CN111045819A (en) * 2019-11-22 2020-04-21 北京云宽志业网络技术有限公司 Resource request method, device, equipment and storage medium of distributed system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185779A (en) * 2011-05-11 2011-09-14 田文洪 Method and device for realizing data center resource load balance in proportion to comprehensive allocation capability
US20120331152A1 (en) * 2011-04-11 2012-12-27 International Business Machines Corporation Dynamic resource allocation method, system, and program
CN103024078A (en) * 2012-12-31 2013-04-03 无锡城市云计算中心有限公司 Resource allocation method and device in cloud computing environment
CN103369041A (en) * 2013-07-09 2013-10-23 北京奇虎科技有限公司 Cloud-computing-based resource allocation method and device
CN103729236A (en) * 2013-12-29 2014-04-16 国云科技股份有限公司 Method for limiting resource using limit of cloud computing users

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120331152A1 (en) * 2011-04-11 2012-12-27 International Business Machines Corporation Dynamic resource allocation method, system, and program
CN102185779A (en) * 2011-05-11 2011-09-14 田文洪 Method and device for realizing data center resource load balance in proportion to comprehensive allocation capability
CN103024078A (en) * 2012-12-31 2013-04-03 无锡城市云计算中心有限公司 Resource allocation method and device in cloud computing environment
CN103369041A (en) * 2013-07-09 2013-10-23 北京奇虎科技有限公司 Cloud-computing-based resource allocation method and device
CN103729236A (en) * 2013-12-29 2014-04-16 国云科技股份有限公司 Method for limiting resource using limit of cloud computing users

Also Published As

Publication number Publication date
CN104468755A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN105103506B (en) For the method and system for the non-homogeneous bandwidth request allocation bandwidth in system for cloud computing
CN105190558B (en) For creating the method and system of logical resource
CN104025073B (en) The apparatus and method that strategy in computing environment is implemented
US8260931B2 (en) Secure provisioning of resources in cloud infrastructure
CN106506670B (en) A kind of cloud platform virtual resource high speed dispatching method and system
CN105915470B (en) A kind of elastic bandwidth configuration method based on Linux flow control
CN107153565A (en) Configure the method and its network equipment of resource
CN105897484A (en) Traffic management device, server and method
CN103731372A (en) Resource supply method for service supplier under hybrid cloud environment
CN104468407A (en) Method and device for performing service platform resource elastic allocation
CN106790636A (en) A kind of equally loaded system and method for cloud computing server cluster
CN110086752A (en) A kind of hardware platform based on multi-core network processing FPGA
CN103188160B (en) A kind of flow control methods and retransmission unit
CN106775936A (en) The management method and device of a kind of virtual machine
CN106506610A (en) A kind of public cloud product implementation method based on strategy
CN103023980A (en) Method and system for processing user service request by cloud platform
CN104468755B (en) The method and apparatus for realizing application performance guarantee
CN107708217A (en) A kind of resource regulating method and base station
CN106897115A (en) SaaS software deployments method and device under a kind of cloud environment
CN106850686A (en) A kind of cloud computing system
CN102624597B (en) Two-way sequencing virtual network mapping method
CN104537284B (en) Software protecting system and method based on remote service
CN104468756A (en) Method and device for achieving load distribution in PaaS platform
CN106331024A (en) Method and device for accessing cloud data
CN108182113B (en) Resource allocation method for wireless cloud computing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant