CN106201722A - The load regulation method of server and system - Google Patents
The load regulation method of server and system Download PDFInfo
- Publication number
- CN106201722A CN106201722A CN201610547677.6A CN201610547677A CN106201722A CN 106201722 A CN106201722 A CN 106201722A CN 201610547677 A CN201610547677 A CN 201610547677A CN 106201722 A CN106201722 A CN 106201722A
- Authority
- CN
- China
- Prior art keywords
- server
- load
- grade
- adjustable strategies
- service
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
This application provides the load regulation method of a kind of server, relate to field of computer technology, including: the load parameter of monitoring server, determine the grade of load of described server;With reference to the predetermined grade of load/server adjustable strategies model, determine the server adjustable strategies corresponding with the grade of load of described server;Described server adjustable strategies is sent to described server.Present invention also provides corresponding system.Method and system shown in the embodiment of the present application, the grade of load of server can be judged according to the load parameter monitored, and according to the default grade of load/server adjustable strategies model, server ruuning situation under different loads grade is automatically adjusted, fast response time, the process time is short, adds systematic function.And be machine during whole adjustment and automatically process, it is not necessary to manual operation, greatly reduce the various errors that anthropic factor brings.
Description
Technical field
The application relates to field of computer technology, is specifically related to load regulation method and the system of a kind of server.
Background technology
Along with the development of computer internet technology, in particular with the propelling of globalization process, the covering model of the Internet
Enclosing increasing, overburden depth has goed deep into the clothing, food, lodging and transportion--basic necessities of life of people.Along with the client radix of server service increases, service
The load of device is more and more higher.Especially (such as, buy during spring transportation when certain time period a large number of users accesses same website simultaneously
Train ticket, or the situation such as double 11 big rush in store), if place can not be optimized the server of this website according to loading condition
Reason, then the operation of the server of this website can even result in the machine of delaying the most slowly, experiences pole for accessing the user of this website
For the best.In prior art, when a large number of users request accesses server, it is common that by the real-time monitoring server of O&M engineer
Ruuning situation.When finding that server stress is excessive, O&M engineer is then notified that each side, to investigate, determines that problem is come
Source, and carry out decision-making with this and whether server be adjusted and how to adjust.
During realizing the application, inventor finds that prior art at least there is problems in that prior art lacks
When a large number of users accesses website simultaneously, server being uniformly processed scheme, it realizes the program of server degradation by engineer
Oneself is write, and what these programs had is directly solderable in code, and have then controls in configuration file.Due to the tune to server
Haveing suffered journey is manual control and participation, is generally not capable of quickly being responded, can not in may result in system longer period of time
Using, and artificial participation easily brings various problem, in web site activity, the big rush in such as store was the most fatal for the same day.
Summary of the invention
The embodiment of the present application provides load regulation method and the system of a kind of server, in order to solve the existing of above-mentioned elaboration
At least one problem in technology.
One aspect of the embodiment of the present application provides the load regulation method of a kind of server, including:
The load parameter of monitoring server, determines the grade of load of described server;
With reference to the predetermined grade of load/server adjustable strategies model, determine corresponding with the grade of load of described server
Server adjustable strategies;
Described server adjustable strategies is sent to described server.
The another aspect of the embodiment of the present application provides the load regulating system of a kind of server, and described system includes:
The grade of load determines unit, for monitoring the load parameter of server, determines the grade of load of described server;
Adjustable strategies determines unit, for reference to the predetermined grade of load/server adjustable strategies model, determines with described
The server adjustable strategies that the grade of load of server is corresponding;
Adjustable strategies transmitting element, sends to described server for server adjustable strategies determined by general.
The load regulation method of the server that the embodiment of the present application provides and system, by monitoring the load parameter of server
Determine the grade of load of server, and determine and this load etc. according to the predetermined grade of load/server adjustable strategies model
After the server adjustable strategies that level is corresponding, server is made to adjust according to this server to server the transmission of this server adjustable strategies
Whole strategy processes the automatic adjustment that can meet server in the case of different loads accordingly.Compared with prior art,
Method and system shown in the embodiment of the present application can judge the grade of load of server according to the load parameter monitored, and according to
Server ruuning situation under different loads grade is adjusted by the grade of load/server adjustable strategies model automatically that preset
Whole, fast response time, process the time short, add systematic function.And be machine during whole adjustment and automatically process, it is not necessary to
Manual operation, greatly reduces the various errors that anthropic factor brings.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present application, required use in embodiment being described below
Accompanying drawing be briefly described, it should be apparent that, the accompanying drawing in describing below is some embodiments of the application, for ability
From the point of view of the those of ordinary skill of territory, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
Fig. 1 is the flow chart of the load regulation method of the server of the application one embodiment;
Fig. 2 is the structural representation of the load regulating system of the server of the application one embodiment;
Fig. 3 is the structural representation of the adjustment of load equipment of the server of another embodiment of the application.
Detailed description of the invention
For making the purpose of the embodiment of the present application, technical scheme and advantage clearer, below in conjunction with the embodiment of the present application
In accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of the application protection.
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can
To be mutually combined.
The application can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, service
Device computer, handheld device or portable set, laptop device, multicomputer system, system based on microprocessor, top set
Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, include any of the above system or equipment
Distributed computing environment etc..
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizing the routine of particular abstract data type, program, object, group
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environment, by
The remote processing devices connected by communication network performs task.In a distributed computing environment, program module is permissible
It is positioned in the local and remote computer-readable storage medium of storage device.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like be used merely to by
One entity or operation separate with another entity or operating space, and not necessarily require or imply these entities or operation
Between exist any this reality relation or order.And, term " includes ", " comprising ", not only includes those key elements, and
And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or equipment
Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including described wanting
Process, method, article or the equipment of element there is also other identical element.
Fig. 1 is the flow chart of the load regulation method of the server of the application one embodiment.As it is shown in figure 1, the method bag
Include:
S11: the load parameter of monitoring server, determines the grade of load of described server;
S12: with reference to the predetermined grade of load/server adjustable strategies model, determine and the grade of load of described server
Corresponding server adjustable strategies;
S13: described server adjustable strategies is sent to described server.
In the present embodiment, the monitoring to the load parameter of server can bearing by shell script acquisition server
Carry data, and be written in txt file.By operation, these data are write in MYSQL database by timing.Analyze simultaneously
The daily record of Nginx record, asks the numbers such as the response time of service, exception error number by the performance data of application service the most every time
According to being inserted in data base.After server adjustable strategies determines, corresponding notice or instruction can be generated, and send to server
So that server carries out the respective handling corresponding to server adjustable strategies according to this notice or instruction.
The load regulation method of the server that the embodiment of the present application provides, is determined by the load parameter of monitoring server
The grade of load of server, and determine corresponding with this grade of load according to the predetermined grade of load/server adjustable strategies model
Server adjustable strategies after, this server adjustable strategies is sent to server and makes server according to this server adjustable strategies
Process the automatic adjustment that can meet server in the case of different loads accordingly.Compared with prior art, the application
Method shown in embodiment can judge the grade of load of server according to the load parameter monitored, and according to default load etc.
Server ruuning situation under different loads grade is automatically adjusted by level/server adjustable strategies model, response speed
Hurry up, process the time short, add systematic function.And be machine during whole adjustment and automatically process, it is not necessary to manual operation, greatly
Decrease greatly the various errors that anthropic factor brings.
As the further optimization of embodiment illustrated in fig. 1, in embodiment illustrated in fig. 1, the grade of load/server adjustable strategies
Model includes multiple grade of load and the multiple server adjustable strategies corresponding with the plurality of grade of load, wherein, described
The grade of load is the highest, and the intensity level of the one or more adjustment means selected in described server adjustable strategies is the biggest.
In the grade of load of the present embodiment/server adjustable strategies model, the server that each grade of load is corresponding adjusts
Strategy includes one or more adjustment means.The grade of load is the highest, then show that server stress is the biggest, and system runs the shadow being subject to
Ringing the most serious, the intensity of therefore corresponding adjustment means is the biggest.By arranging corresponding intensity level for each adjustment means, permissible
There are the adjustment means of varying strength value summation to adjust the load of server for different grade of load distribution.
Further illustrating as above-described embodiment, the adjustment means in server adjustable strategies at least include increasing service
Device, current limliting, in server at least one application service demote at least one, wherein increase server, current limliting, to clothes
At least one application service degradation in business device has respective adjustment intensity level.
In the present embodiment, current limliting refers to: present flow rate, if it exceeds default value or system ability to bear, is the most directly refused
Fall part request, to realize the protection to system.According to based on data different, current limliting can be divided into two kinds: 1, based on flow
The current limliting of threshold value: flow threshold is the flow rate upper limit of each main frame, flow exceedes this threshold value main frame will enter labile state.Cause
Threshold value can be set by advance, if main frame present flow rate exceedes threshold value, then refusal falls a part of flow so that actual
Processed flow is consistently lower than threshold value.2, the current limliting of Intrusion Detection based on host state: first judge current main before each request of each acceptance
Machine state, if host posture is the best, then refuses current request.
In the present embodiment, the mode of current limliting can have: asks according to IP number of request current limliting for great majority, for logging in use
Family is according to user's current limliting;Not carrying out current limliting for reading the request of caching, the request to entering into back-end system carries out current limliting.Also
Can such as use the ngx.sleep in ngx_lua that request is carried out dormancy process so that interface with restricting user access frequency
The speed refreshed lowers;Or plantation cookie token, prevents Automatic Program submission form so that it is must visit according to flow process
Ask.The request of reptile/brush data can also be returned false data and reduce impact.The grade of load current when server is corresponding
When server adjustable strategies includes current limliting, can carry in the data returned because of current limliting such as " current request because
Be denied access beyond flow " etc. relevant information.
Increase server and refer to when flow exceedes system service ability, trigger cluster dilatation, dispose multiple server also
On-line running.At least one application service in server is demoted and refers to close unessential connecing when server load is too high
Mouth (direct refusal processes request), and retain important interface.Such as application service has 10 interfaces, closes during service degradation
Wherein five, retaining five, at this moment the service processing ability of server is by about enhancing to two times.
In the present embodiment, increase server, current limliting, to three kinds of adjustment such as at least one the application service degradations in server
The intensity level of means is different, and the intensity level increasing server can be such as 1, and the intensity level of current limliting can be such as 3, to service
The intensity level of at least one application service degradation in device can be such as 5.Then server adjustable strategies can have 7, as follows
Shown in table.
Table 1 server adjustable strategies
It should be appreciated that in method described in the embodiment of the present application, when server load level height, can be by service
Device adjustable strategies reduces the load of server, and wherein the intensity level of the adjustment means in this server adjustable strategies is higher;Thus
After causing server load level to reduce, the intensity level of its adjustment means of the server adjustable strategies now used is relatively low.
Further illustrating as above-described embodiment, drops at least one application service in server in above-described embodiment
Level includes: reduce at least one service logic activated business in application service interface.
In the present embodiment, the business of the application service in server can be carried out priority division.The industry that priority is high
Business, such as core business (the ticket booking function of 12306 systems, the checking of store, payment function), its service logic is without reducing;
And the business that priority is low, such as activate business (air ticket, the choosing seat function of train ticket, the commercial product recommending function in store), at clothes
When the business device grade of load is higher, its service logic can service with the business being preferably priority high with temporary removal.When
So, when server load is too high such as the grade of load is the highest time, even if reducing the service logic activated business can not make clothes
Business device load reduction, the most then should reduce the service logic of all business to prevent server from delaying machine.
According to above-described embodiment, the one of the grade of load in the embodiment of the present application/server adjustable strategies model is concrete real
Execute such as shown in table 2.
Table 2 grades of load/server adjustable strategies model
Further illustrating as the embodiment of the present application, in the embodiment of the present application, load parameter takies according to CPU, internal memory accounts for
With, disk input and output number of times, bandwidth occupancy, concurrent request number, service response time and service error number determine.
In the present embodiment, the load parameter of server can according to the load data of server (CPU takies, EMS memory occupation,
Disk input and output number of times), the network data (bandwidth occupancy, concurrent request number) of server and the application service performance of server
Data (service response time, service error number) determine.Load parameter can be one or more in above-mentioned data, it is possible to
To be determined by multiple in above-mentioned data.When load parameter is determined by multiple in above-mentioned data, its occurrence is permissible
Determine in the following manner:
It is 10 that every kind of data are respectively provided with the weight that corresponding weight, such as CPU take, and the weight of EMS memory occupation is 9, bandwidth
The weight taken is 7, and the weight of service response time is 5 etc..Every kind of data also have multiple interval and interval variable, example
As, CPU takies and is divided into three intervals, and the first interval is 0-30%, and its variable is 5;Second interval is 30%-60%, its meter
Value is 15;3rd interval is 60-100%, and its variable is 30.Or, service response time is divided into four intervals, and first
Interval is 0-0.1s, and its variable is 1;Second interval is 0.1s-1s, and its variable is 5;3rd interval is 1s-3s, its metering
Value is 13;4th interval is more than 3s, and its variable is 50.By variable and the multiplied by weight of every kind of data, obtain numerical value total
With the load parameter being server.Such as, it is 50% that the current CPU of server takies, and its variable is 15, the power that CPU takies
It is heavily 10;Server current service response average time be 0.6s, its variable is 5, and the weight of service response time is 5;By
The load parameter of this available server is 15 × 10+5 × 5=175.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Action merge, but those skilled in the art should know, the application is not limited by described sequence of movement because
According to the application, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know
Knowing, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application
Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
Fig. 2 is the structural representation of the load regulating system of the server of the application one embodiment.In the embodiment of the present application
The load regulation method of described server can be implemented by load regulating system based on the server in the present embodiment.Such as Fig. 2
Shown in, this system includes that the grade of load determines that unit 21, adjustable strategies determine unit 22 and adjustable strategies transmitting element 23.
The grade of load determines that unit 21, for monitoring the load parameter of server, determines the grade of load of described server;
Adjustable strategies determines that unit 22 is for reference to the predetermined grade of load/server adjustable strategies model, determining and institute
State the server adjustable strategies that the grade of load of server is corresponding;
Adjustable strategies transmitting element 23 sends to described server for server adjustable strategies determined by general.
The load regulating system of the server that the embodiment of the present application provides, determines unit 21 monitoring service by the grade of load
The load parameter of device determines the grade of load of server, and determines that unit 22 is according to predetermined load etc. by adjustable strategies
After level/server adjustable strategies model determines the server adjustable strategies corresponding with this grade of load, sent by adjustable strategies
The transmission of this server adjustable strategies is made server locate accordingly according to this server adjustable strategies to server by unit 23
Reason can meet the server automatic adjustment in the case of different loads.Compared with prior art, system shown in the embodiment of the present application
System can judge the grade of load of server according to the load parameter monitored, and adjusts according to the default grade of load/server
Server ruuning situation under different loads grade is automatically adjusted by whole Policy model, fast response time, processes the time
Short, add systematic function.And be machine during whole adjustment and automatically process, it is not necessary to manual operation, greatly reduce people
The various errors brought for factor.
The embodiment of the present application can be passed through hardware processor (hardware processor) and realize correlation function mould
Block.
Fig. 3 is the structural representation of the adjustment of load equipment of the server of the application one alternative embodiment.The application is concrete
The implementing of adjustment of load equipment of server is not limited by embodiment.As it is shown on figure 3, this equipment may include that
Processor (processor) 310, communication interface (Communications Interface) 320, memorizer
(memory) 330 and communication bus 340.Wherein:
Processor 310, communication interface 320 and memorizer 330 complete mutual communication by communication bus 340.
Communication interface 320, for the net element communication with such as client etc..
Processor 310, is used for the program that performs 332, specifically can perform the correlation step in said method embodiment.
Specifically, program 332 can include that program code, described program code include computer-managed instruction.
Processor 310 is probably a central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is configured to implement the one or more integrated electricity of the embodiment of the present application
Road.
In server in above-mentioned enforcement:
Memorizer, is used for depositing computer-managed instruction;
Processor, for performing the computer-managed instruction of described memorizer storage, to perform:
The load parameter of monitoring server, determines the grade of load of described server;
With reference to the predetermined grade of load/server adjustable strategies model, determine corresponding with the grade of load of described server
Server adjustable strategies;
Described server adjustable strategies is sent to described server.
As the further optimization of embodiment illustrated in fig. 2, in embodiment illustrated in fig. 2, the grade of load/server adjustable strategies
Model includes multiple grade of load and the multiple server adjustable strategies corresponding with the plurality of grade of load, wherein, described
The grade of load is the highest, and the intensity level of the one or more adjustment means selected in described server adjustable strategies is the biggest.
In the grade of load of the present embodiment/server adjustable strategies model, the server that each grade of load is corresponding adjusts
Strategy includes one or more adjustment means.The grade of load is the highest, then show that server stress is the biggest, and system runs the shadow being subject to
Ringing the most serious, the intensity of therefore corresponding adjustment means is the biggest.By arranging corresponding intensity level for each adjustment means, permissible
There are the adjustment means of varying strength value summation to adjust the load of server for different grade of load distribution.
Further illustrating as above-described embodiment, the adjustment means in server adjustable strategies at least include increasing service
Device, current limliting, in server at least one application service demote at least one, wherein increase server, current limliting, to clothes
At least one application service degradation in business device has respective adjustment intensity level.
In the present embodiment, increase server, current limliting, to three kinds of adjustment such as at least one the application service degradations in server
The intensity level of means is different, and the intensity level increasing server can be such as 1, and the intensity level of current limliting can be such as 3, to service
The intensity level of at least one application service degradation in device can be such as 5.Then server adjustable strategies can have 7, such as table 1
Shown in.
Further illustrating as above-described embodiment, drops at least one application service in server in above-described embodiment
Level includes: reduce at least one service logic activated business in application service interface.
In the present embodiment, the business of the application service in server can be carried out priority division.The industry that priority is high
Business, such as core business (the ticket booking function of 12306 systems, the checking of store, payment function), its service logic is without reducing;
And the business that priority is low, such as activate business (air ticket, the choosing seat function of train ticket, the commercial product recommending function in store), at clothes
When the business device grade of load is higher, its service logic can service with the business being preferably priority high with temporary removal.When
So, when server load is too high such as the grade of load is the highest time, even if reducing the service logic activated business can not make clothes
Business device load reduction, the most then should reduce the service logic of all business to prevent server from delaying machine.
According to above-described embodiment, of the grade of load in the embodiment of the present application/server adjustable strategies model is concrete
Example is as shown in table 2.
Further illustrating as the embodiment of the present application, in the embodiment of the present application, load parameter takies according to CPU, internal memory accounts for
With, disk input and output number of times, bandwidth occupancy, concurrent request number, service response time and service error number determine.
In the present embodiment, the load parameter of server can according to the load data of server (CPU takies, EMS memory occupation,
Disk input and output number of times), the network data (bandwidth occupancy, concurrent request number) of server and the application service performance of server
Data (service response time, service error number) determine.Load parameter can be one or more in above-mentioned data, it is possible to
To be determined by multiple in above-mentioned data.When load parameter is determined by multiple in above-mentioned data, its occurrence is permissible
Determine in the following manner:
It is 10 that every kind of data are respectively provided with the weight that corresponding weight, such as CPU take, and the weight of EMS memory occupation is 9, bandwidth
The weight taken is 7, and the weight of service response time is 5 etc..Every kind of data also have multiple interval and interval variable, example
As, CPU takies and is divided into three intervals, and the first interval is 0-30%, and its variable is 5;Second interval is 30%-60%, its meter
Value is 15;3rd interval is 60-100%, and its variable is 30.Or, service response time is divided into four intervals, and first
Interval is 0-0.1s, and its variable is 1;Second interval is 0.1s-1s, and its variable is 5;3rd interval is 1s-3s, its metering
Value is 13;4th interval is more than 3s, and its variable is 50.By variable and the multiplied by weight of every kind of data, obtain numerical value total
With the load parameter being server.Such as, it is 50% that the current CPU of server takies, and its variable is 15, the power that CPU takies
It is heavily 10;Server current service response average time be 0.6s, its variable is 5, and the weight of service response time is 5;By
The load parameter of this available server is 15 × 10+5 × 5=175.
Embodiment of the method described above is only schematically, and the wherein said unit illustrated as separating component can
To be or to may not be physically separate, the parts shown as unit can be or may not be physics list
Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs
In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, be i.e. appreciated that and implement.
By the description of above embodiment, those skilled in the art is it can be understood that can be by each embodiment
Software adds the mode of required general hardware platform and realizes, naturally it is also possible to pass through hardware.Based on such understanding, above-mentioned skill
The part that prior art is contributed by art scheme the most in other words can embody with the form of software product, this calculating
Machine software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., uses including some instructions
So that computer equipment (can be personal computer, server, or the network equipment etc.) perform each embodiment or
The method described in some part of person's embodiment.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of the application can use complete hardware embodiment, complete software implementation or combine software and hardware
Execute the form of example.And, the application can use at one or more computers wherein including computer usable program code
The shape of the upper computer program implemented of usable storage medium (including but not limited to disk memory and optical memory etc.)
Formula.
The application is with reference to method, equipment (system) and the flow process of computer program according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram
Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce
A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real
The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to
Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function specified in multiple square frames.These computer program instructions also can be loaded into computer or other programmable datas process and set
It is standby upper so that on computer or other programmable devices, execution sequence of operations step is to produce computer implemented process,
Thus the instruction performed on computer or other programmable devices provides for realizing at one flow process of flow chart or multiple stream
The step of the function specified in journey and/or one square frame of block diagram or multiple square frame.
Last it is noted that above example is only in order to illustrate the technical scheme of the application, it is not intended to limit;Although
With reference to previous embodiment, the application is described in detail, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;
And these amendment or replace, do not make appropriate technical solution essence depart from the application each embodiment technical scheme spirit and
Scope.
Claims (10)
1. a load regulation method for server, including:
The load parameter of monitoring server, determines the grade of load of described server;
With reference to the predetermined grade of load/server adjustable strategies model, determine the clothes corresponding with the grade of load of described server
Business device adjustable strategies;
Described server adjustable strategies is sent to described server.
Method the most according to claim 1, wherein, the described grade of load/server adjustable strategies model includes multiple negative
Carrying grade and the multiple server adjustable strategies corresponding with the plurality of grade of load, wherein, the described grade of load is the highest, institute
The intensity level stating the one or more adjustment means selected in server adjustable strategies is the biggest.
Method the most according to claim 2, wherein, the adjustment means in described server adjustable strategies at least include increasing
Server, current limliting, in server at least one application service demote at least one, wherein increase server, current limliting,
At least one application service in server is demoted there is respective adjustment intensity level.
Method the most according to claim 3, wherein, described demote at least one application service in server includes:
Reduce at least one service logic activated business in application service interface.
5. according to the method according to any one of claim 1-4, wherein, described load parameter takies according to CPU, internal memory accounts for
By, at least one in disk input and output number of times, bandwidth occupancy, concurrent request number, service response time and service error number
Determine.
6. a load regulating system for server, including:
The grade of load determines unit, for monitoring the load parameter of server, determines the grade of load of described server;
Adjustable strategies determines unit, for reference to the predetermined grade of load/server adjustable strategies model, determines and described service
The server adjustable strategies that the grade of load of device is corresponding;
Adjustable strategies transmitting element, sends to described server for server adjustable strategies determined by general.
System the most according to claim 6, wherein, the described grade of load/server adjustable strategies model includes multiple negative
Carrying grade and the multiple server adjustable strategies corresponding with the plurality of grade of load, wherein, the described grade of load is the highest, institute
The intensity level stating the one or more adjustment means selected in server adjustable strategies is the biggest.
System the most according to claim 7, wherein, the adjustment means in described server adjustable strategies at least include increasing
Server, current limliting, in server at least one application service demote at least one, wherein increase server, current limliting,
At least one application service in server is demoted there is respective adjustment intensity level.
System the most according to claim 8, wherein, described demote at least one application service in server includes:
Reduce at least one service logic activated business in application service interface.
10. according to the system according to any one of claim 6-9, wherein, described load parameter takies according to CPU, internal memory accounts for
By, at least one in disk input and output number of times, bandwidth occupancy, concurrent request number, service response time and service error number
Determine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610547677.6A CN106201722A (en) | 2016-07-12 | 2016-07-12 | The load regulation method of server and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610547677.6A CN106201722A (en) | 2016-07-12 | 2016-07-12 | The load regulation method of server and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106201722A true CN106201722A (en) | 2016-12-07 |
Family
ID=57477053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610547677.6A Pending CN106201722A (en) | 2016-07-12 | 2016-07-12 | The load regulation method of server and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201722A (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713028A (en) * | 2016-12-20 | 2017-05-24 | 北京小米移动软件有限公司 | Service degradation method and apparatus, and distributed task scheduling system |
CN107070716A (en) * | 2017-04-14 | 2017-08-18 | 腾讯科技(深圳)有限公司 | Game server state acquiring method, device, electronic equipment and storage medium |
CN107196785A (en) * | 2017-03-31 | 2017-09-22 | 北京奇艺世纪科技有限公司 | The method and device that back-end services degrade automatically |
CN107239341A (en) * | 2017-05-27 | 2017-10-10 | 郑州云海信息技术有限公司 | A kind of resource translation method, system and resources of virtual machine scheduling system |
CN107800756A (en) * | 2017-03-13 | 2018-03-13 | 平安科技(深圳)有限公司 | A kind of load-balancing method and load equalizer |
CN108173698A (en) * | 2018-01-17 | 2018-06-15 | 阿里巴巴集团控股有限公司 | Network service management method, apparatus, server and storage medium |
CN108804152A (en) * | 2018-05-04 | 2018-11-13 | 北京信安世纪科技股份有限公司 | Configure the adjusting method and device of parameter |
CN108900382A (en) * | 2018-07-18 | 2018-11-27 | 腾讯科技(深圳)有限公司 | Test method and its device |
CN109032805A (en) * | 2018-08-06 | 2018-12-18 | 深圳乐信软件技术有限公司 | A kind of scalable appearance method, apparatus of elasticity, server and storage medium |
CN109218369A (en) * | 2017-07-05 | 2019-01-15 | 阿里巴巴集团控股有限公司 | remote procedure call request control method and device |
CN109783304A (en) * | 2017-11-15 | 2019-05-21 | 中国移动通信有限公司研究院 | A kind of energy-saving scheduling method and corresponding intrument of data center |
CN110209502A (en) * | 2019-06-05 | 2019-09-06 | 北京奇艺世纪科技有限公司 | A kind of information storage means, device, electronic equipment and storage medium |
CN110311933A (en) * | 2018-03-20 | 2019-10-08 | 中国移动通信集团有限公司 | A kind of method, apparatus, equipment and the storage medium of equilibrium service traffics |
CN110389824A (en) * | 2018-04-20 | 2019-10-29 | 伊姆西Ip控股有限责任公司 | Handle method, equipment and the computer program product of calculating task |
CN110515728A (en) * | 2019-08-19 | 2019-11-29 | 杭州迪普科技股份有限公司 | Server scheduling method, apparatus, electronic equipment and machine readable storage medium |
CN111324886A (en) * | 2020-03-12 | 2020-06-23 | 杭州海康威视系统技术有限公司 | Service request processing method and device and server |
CN111756648A (en) * | 2019-03-27 | 2020-10-09 | 百度在线网络技术(北京)有限公司 | Flow congestion control method, device, equipment and medium |
CN111831504A (en) * | 2019-04-15 | 2020-10-27 | 北京京东尚科信息技术有限公司 | Monitoring method, monitoring apparatus, computer device, and medium |
CN111858268A (en) * | 2019-04-24 | 2020-10-30 | 中国信息通信研究院 | Method for determining energy efficiency grade based on energy consumption test |
CN112740642A (en) * | 2020-08-31 | 2021-04-30 | 华为技术有限公司 | Communication method and multi-access edge computing server |
WO2021114829A1 (en) * | 2020-06-09 | 2021-06-17 | 平安科技(深圳)有限公司 | Token bucket-based method, device, and system for interface throttling, and readable storage medium |
CN114442935A (en) * | 2021-12-29 | 2022-05-06 | 天翼云科技有限公司 | Method and device for scrubbing data, electronic equipment and storage medium |
CN114844835A (en) * | 2022-07-04 | 2022-08-02 | 眉山环天智慧科技有限公司 | Self-adaptive dynamic current limiting method and device |
CN114866614A (en) * | 2022-05-05 | 2022-08-05 | 浙江工业大学 | Service self-adaptive elastic adjustment method based on network environment and server load |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6473791B1 (en) * | 1998-08-17 | 2002-10-29 | Microsoft Corporation | Object load balancing |
CN102611735A (en) * | 2011-12-21 | 2012-07-25 | 奇智软件(北京)有限公司 | Load balancing method and system of application services |
CN102833355A (en) * | 2012-09-22 | 2012-12-19 | 广东电子工业研究院有限公司 | Load balance system and cloud computing oriented mechanism |
CN102857577A (en) * | 2012-09-24 | 2013-01-02 | 北京联创信安科技有限公司 | System and method for automatic load balancing of cluster storage |
CN103412875A (en) * | 2013-07-11 | 2013-11-27 | 广东工业大学 | CDN strategy adjustment method based on AHP decision model |
CN104301404A (en) * | 2014-09-29 | 2015-01-21 | 华为技术有限公司 | Method and device for regulating resources of service system based on virtual machines |
US20160142274A1 (en) * | 2014-11-14 | 2016-05-19 | Bigleaf Networks, Llc | Circuit-aware load balancing with dynamic quality of service |
-
2016
- 2016-07-12 CN CN201610547677.6A patent/CN106201722A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6473791B1 (en) * | 1998-08-17 | 2002-10-29 | Microsoft Corporation | Object load balancing |
CN102611735A (en) * | 2011-12-21 | 2012-07-25 | 奇智软件(北京)有限公司 | Load balancing method and system of application services |
CN102833355A (en) * | 2012-09-22 | 2012-12-19 | 广东电子工业研究院有限公司 | Load balance system and cloud computing oriented mechanism |
CN102857577A (en) * | 2012-09-24 | 2013-01-02 | 北京联创信安科技有限公司 | System and method for automatic load balancing of cluster storage |
CN103412875A (en) * | 2013-07-11 | 2013-11-27 | 广东工业大学 | CDN strategy adjustment method based on AHP decision model |
CN104301404A (en) * | 2014-09-29 | 2015-01-21 | 华为技术有限公司 | Method and device for regulating resources of service system based on virtual machines |
US20160142274A1 (en) * | 2014-11-14 | 2016-05-19 | Bigleaf Networks, Llc | Circuit-aware load balancing with dynamic quality of service |
Cited By (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713028A (en) * | 2016-12-20 | 2017-05-24 | 北京小米移动软件有限公司 | Service degradation method and apparatus, and distributed task scheduling system |
CN106713028B (en) * | 2016-12-20 | 2020-06-02 | 北京小米移动软件有限公司 | Service degradation method and device and distributed task scheduling system |
CN107800756A (en) * | 2017-03-13 | 2018-03-13 | 平安科技(深圳)有限公司 | A kind of load-balancing method and load equalizer |
CN107196785A (en) * | 2017-03-31 | 2017-09-22 | 北京奇艺世纪科技有限公司 | The method and device that back-end services degrade automatically |
CN107070716A (en) * | 2017-04-14 | 2017-08-18 | 腾讯科技(深圳)有限公司 | Game server state acquiring method, device, electronic equipment and storage medium |
CN107070716B (en) * | 2017-04-14 | 2018-09-11 | 腾讯科技(深圳)有限公司 | Game server state acquiring method, device, electronic equipment and storage medium |
CN107239341B (en) * | 2017-05-27 | 2020-09-18 | 苏州浪潮智能科技有限公司 | Resource conversion method and system and virtual machine resource scheduling system |
CN107239341A (en) * | 2017-05-27 | 2017-10-10 | 郑州云海信息技术有限公司 | A kind of resource translation method, system and resources of virtual machine scheduling system |
CN109218369A (en) * | 2017-07-05 | 2019-01-15 | 阿里巴巴集团控股有限公司 | remote procedure call request control method and device |
CN109218369B (en) * | 2017-07-05 | 2021-08-03 | 阿里巴巴集团控股有限公司 | Remote procedure call request control method and device |
CN109783304B (en) * | 2017-11-15 | 2022-06-07 | 中国移动通信有限公司研究院 | Energy-saving scheduling method and corresponding device for data center |
CN109783304A (en) * | 2017-11-15 | 2019-05-21 | 中国移动通信有限公司研究院 | A kind of energy-saving scheduling method and corresponding intrument of data center |
CN108173698A (en) * | 2018-01-17 | 2018-06-15 | 阿里巴巴集团控股有限公司 | Network service management method, apparatus, server and storage medium |
CN108173698B (en) * | 2018-01-17 | 2021-03-30 | 创新先进技术有限公司 | Network service management method, device, server and storage medium |
CN110311933A (en) * | 2018-03-20 | 2019-10-08 | 中国移动通信集团有限公司 | A kind of method, apparatus, equipment and the storage medium of equilibrium service traffics |
CN110389824A (en) * | 2018-04-20 | 2019-10-29 | 伊姆西Ip控股有限责任公司 | Handle method, equipment and the computer program product of calculating task |
CN108804152B (en) * | 2018-05-04 | 2021-08-31 | 北京信安世纪科技股份有限公司 | Method and device for adjusting configuration parameters |
CN108804152A (en) * | 2018-05-04 | 2018-11-13 | 北京信安世纪科技股份有限公司 | Configure the adjusting method and device of parameter |
CN108900382A (en) * | 2018-07-18 | 2018-11-27 | 腾讯科技(深圳)有限公司 | Test method and its device |
CN109032805A (en) * | 2018-08-06 | 2018-12-18 | 深圳乐信软件技术有限公司 | A kind of scalable appearance method, apparatus of elasticity, server and storage medium |
CN111756648A (en) * | 2019-03-27 | 2020-10-09 | 百度在线网络技术(北京)有限公司 | Flow congestion control method, device, equipment and medium |
CN111831504A (en) * | 2019-04-15 | 2020-10-27 | 北京京东尚科信息技术有限公司 | Monitoring method, monitoring apparatus, computer device, and medium |
CN111858268A (en) * | 2019-04-24 | 2020-10-30 | 中国信息通信研究院 | Method for determining energy efficiency grade based on energy consumption test |
CN110209502A (en) * | 2019-06-05 | 2019-09-06 | 北京奇艺世纪科技有限公司 | A kind of information storage means, device, electronic equipment and storage medium |
CN110515728B (en) * | 2019-08-19 | 2022-05-31 | 杭州迪普科技股份有限公司 | Server scheduling method and device, electronic equipment and machine-readable storage medium |
CN110515728A (en) * | 2019-08-19 | 2019-11-29 | 杭州迪普科技股份有限公司 | Server scheduling method, apparatus, electronic equipment and machine readable storage medium |
CN111324886A (en) * | 2020-03-12 | 2020-06-23 | 杭州海康威视系统技术有限公司 | Service request processing method and device and server |
WO2021114829A1 (en) * | 2020-06-09 | 2021-06-17 | 平安科技(深圳)有限公司 | Token bucket-based method, device, and system for interface throttling, and readable storage medium |
CN112740642A (en) * | 2020-08-31 | 2021-04-30 | 华为技术有限公司 | Communication method and multi-access edge computing server |
CN114442935A (en) * | 2021-12-29 | 2022-05-06 | 天翼云科技有限公司 | Method and device for scrubbing data, electronic equipment and storage medium |
CN114442935B (en) * | 2021-12-29 | 2023-08-04 | 天翼云科技有限公司 | Method and device for brushing dirty data, electronic equipment and storage medium |
CN114866614A (en) * | 2022-05-05 | 2022-08-05 | 浙江工业大学 | Service self-adaptive elastic adjustment method based on network environment and server load |
CN114844835A (en) * | 2022-07-04 | 2022-08-02 | 眉山环天智慧科技有限公司 | Self-adaptive dynamic current limiting method and device |
CN114844835B (en) * | 2022-07-04 | 2022-09-20 | 眉山环天智慧科技有限公司 | Self-adaptive dynamic current limiting method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201722A (en) | The load regulation method of server and system | |
CN105281981B (en) | The data traffic monitoring method and device of network service | |
CN108897615A (en) | Second kills request processing method, application server cluster and storage medium | |
CN103426072B (en) | The order processing system of a kind of high concurrent competition stock and disposal route thereof | |
US11513853B2 (en) | Shared resources control in a multi-tenant system | |
CN108322541B (en) | Self-adaptive distributed system architecture | |
US10896237B2 (en) | Reducing database stress using cognitive data caching | |
CN104158826B (en) | A kind of dispatching method and its system of the migration of Virtual machine | |
CN110289994A (en) | A kind of cluster capacity adjustment method and device | |
US11237868B2 (en) | Machine learning-based power capping and virtual machine placement in cloud platforms | |
CN107729514A (en) | A kind of Replica placement node based on hadoop determines method and device | |
CN115543577B (en) | Covariate-based Kubernetes resource scheduling optimization method, storage medium and device | |
CN104641355A (en) | Adaptive service timeouts | |
CN109561086A (en) | A method of anti-crawler is carried out using Praxeology | |
CN110378801A (en) | A kind of intelligent scheduling predetermined plan management method and platform | |
CN108536846A (en) | Air control engine variable library rule adaptation method, device, equipment and storage medium | |
CN113256408A (en) | Risk control method and system based on consumption finance and computer equipment | |
Nine et al. | Hysteresis-based optimization of data transfer throughput | |
CN109117269A (en) | A kind of distributed system dispatching method of virtual machine, device and readable storage medium storing program for executing | |
CN109947558A (en) | Host resource utilization rate calculation method and resource regulating method | |
CN103248622B (en) | A kind of Online Video QoS guarantee method of automatic telescopic and system | |
Wang et al. | GeoCol: A geo-distributed cloud storage system with low cost and latency using reinforcement learning | |
Rak | Response time analysis of distributed web systems using QPNs | |
CN117033004B (en) | Load balancing method and device, electronic equipment and storage medium | |
Mazalov et al. | Queueing system with on-demand number of servers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161207 |