CN108023759B - Self-adaptive resource scheduling method and device - Google Patents
Self-adaptive resource scheduling method and device Download PDFInfo
- Publication number
- CN108023759B CN108023759B CN201610978566.0A CN201610978566A CN108023759B CN 108023759 B CN108023759 B CN 108023759B CN 201610978566 A CN201610978566 A CN 201610978566A CN 108023759 B CN108023759 B CN 108023759B
- Authority
- CN
- China
- Prior art keywords
- configuration parameter
- resource configuration
- parameter value
- preset threshold
- resource
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to a self-adaptive resource scheduling method and a self-adaptive resource scheduling device. The method comprises the following steps: generating a characteristic string according to the system state information; acquiring a corresponding resource configuration parameter value according to the characteristic string, and running service according to the resource configuration parameter value; counting the running state data in real time, and acquiring the use proportion of temporary resources according to the running state data; judging whether the use ratio of the temporary resources is within a preset threshold range, if not, updating resource configuration parameter values, operating service according to the updated resource configuration parameter values, and if so, keeping the resource configuration parameter values unchanged; and if the use ratios of the temporary resources obtained within the preset time length are all within the preset threshold range, or if the use ratios of the temporary resources obtained continuously exceeding the preset times are all within the preset threshold range, correspondingly storing the characteristic strings and the corresponding resource configuration parameter values. The self-adaptive resource scheduling method and the self-adaptive resource scheduling device improve the utilization rate of resources.
Description
Technical Field
The present invention relates to computer application technologies, and in particular, to a method and an apparatus for adaptive resource scheduling.
Background
The resources are typically limited due to limitations of the operating system and the hardware devices themselves. The resources may include software and hardware resources and the software resources may include system resources such as windows, cursors, etc. according to the application. The hardware resources may include resources such as memory, processors, etc.
When a service is requested, the traditional resource allocation mainly adopts a subjective experience mode to allocate fixed resources, and sometimes the service is refused due to accidental surge, and the system resources are exhausted and locked. In order to avoid the deadlock phenomenon, increase resources and waste equipment due to excessive redundancy, the problem of low resource utilization rate is caused no matter the system resources are exhausted and deadlocked or the resources are wasted due to excessive redundancy.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for adaptive resource scheduling to improve the resource utilization rate, aiming at the problem of low resource utilization rate in the prior art.
An adaptive resource scheduling method, comprising:
acquiring system state information, and generating a feature string according to the system state information;
acquiring a stored corresponding resource configuration parameter value according to the characteristic string, and running service according to the resource configuration parameter value;
counting the running state data in real time, and acquiring the use proportion of temporary resources according to the running state data;
judging whether the use ratio of the temporary resources is within a preset threshold range, if not, adjusting resource configuration parameter values to obtain updated resource configuration parameter values, operating service according to the updated resource configuration parameter values, and if so, keeping the resource configuration parameter values unchanged;
and if the use ratios of the temporary resources obtained within the preset time length are all within the preset threshold range, or if the use ratios of the temporary resources obtained continuously exceeding the preset times are all within the preset threshold range, correspondingly storing the resource configuration parameter values corresponding to the feature strings and the use ratios of the temporary resources which are all within the preset threshold range.
An adaptive resource scheduling apparatus, comprising:
the generating module is used for acquiring system state information and generating a characteristic string according to the system state information;
the resource allocation initialization module is used for acquiring the stored corresponding resource allocation parameter values according to the characteristic strings and running services according to the resource allocation parameter values;
the statistical module is used for counting the running state data in real time and acquiring the use proportion of the temporary resources according to the running state data;
the judging module is used for judging whether the use proportion of the temporary resources is within a preset threshold range;
the adjusting module is used for adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value when the usage proportion of the temporary resource is judged not to be within the preset threshold range, operating the service according to the updated resource configuration parameter value, and keeping the resource configuration parameter value unchanged when the usage proportion of the temporary resource is judged to be within the preset threshold range;
and the storage module is used for correspondingly storing the resource configuration parameter values corresponding to the feature strings and the temporary resources with the use ratios within the preset threshold range if the use ratios of the temporary resources obtained within the preset time are all within the preset threshold range or if the use ratios of the temporary resources obtained continuously exceeding the preset times are all within the preset threshold range.
The self-adaptive resource scheduling method and the device generate the characteristic string according to the system state information by acquiring the system state information, acquire the corresponding resource allocation parameter value according to the characteristic string to realize the initial operation service, then count the operation state information in real time, acquire the temporary resource usage ratio according to the operation state information, judge that the temporary resource usage ratio is not in the preset threshold range, adjust the resource allocation parameter value to acquire the updated resource allocation parameter value, operate the service according to the updated resource allocation parameter value, dynamically adjust the resource allocation parameter value in such a way until the temporary resource usage ratio acquired in the preset time or the continuous preset times is in the preset threshold range, the resource ratio under the characteristic string reaches the optimal state, correspondingly store the characteristic string and the resource allocation parameter value, and enable the resource allocation to reach the optimal due to the dynamic adjustment of the resource allocation parameter value, the utilization rate of resources is improved.
Drawings
FIG. 1 is a schematic diagram of an internal structure of a server according to an embodiment;
FIG. 2 is a flow diagram of a method for adaptive resource scheduling in one embodiment;
FIG. 3 is a schematic diagram of an application architecture of the adaptive resource scheduling method;
FIG. 4 is a diagram illustrating an adaptive condition under a resource shortage condition;
FIG. 5 is a diagram illustrating adaptive conditions with appropriate resources;
FIG. 6 is a diagram illustrating an adaptive condition in the case of redundant resources;
FIG. 7 is a block diagram of an apparatus for adaptive resource scheduling in one embodiment;
fig. 8 is a block diagram of an adaptive resource scheduling apparatus according to another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic diagram of an internal structure of a server (or a cloud, etc.) in one embodiment. As shown in fig. 1, the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected through a system bus. The non-volatile storage medium of the server stores an operating system, a database and a self-adaptive resource scheduling device, the database stores resource configuration parameter values, preset proportions and the like, and the self-adaptive resource scheduling device is used for realizing a self-adaptive resource scheduling method suitable for the server. The processor of the server is used for providing calculation and control capacity and supporting the operation of the whole server. The internal memory of the server provides an environment for the adaptive resource scheduling apparatus in the non-volatile storage medium to operate, and the internal memory may store computer readable instructions, which when executed by the processor, may cause the processor to perform an adaptive resource scheduling method. The network interface of the server is used for communicating with an external terminal or server through a network connection, such as receiving a service request sent by the terminal and returning response data to the terminal. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers. Those skilled in the art will appreciate that the architecture shown in fig. 1 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 2 is a flow diagram of a method for adaptive resource scheduling in one embodiment. As shown in fig. 2, an adaptive resource scheduling method, running on a server, includes:
step 202, obtaining system state information, and generating a feature string according to the system state information.
Specifically, the system state information refers to external condition information corresponding to the service. The service is used to provide a corresponding response to the service request. The system state information may include one or more of network load, message pile-up, memory occupancy, computational busyness, traffic volume, interface name, traffic volume fluctuation rate, time, etc. The network load refers to the number of clients connected to the server. Message pile-up refers to the interval of the number of messages in the wait queue. Memory footprint refers to the interval in which memory may be allowed to be used. The calculation busy degree refers to how much proportion of a Central Processing Unit (CPU) is free and how much can be used by a service. Traffic refers to the number of services connected. The interface name refers to an interface name of an access service. The traffic fluctuation rate is a deviation degree between the maximum value and the minimum value of the traffic and the average value, and for example, the traffic fluctuation rate is 0.1 to 5, which means that the minimum value of the traffic is an average value of 0.1 times and the maximum value is an average value of 5 times. The average value is a traffic average value calculated from traffic data in a certain period of time. Time refers to the time range of adaptive resource scheduling usage, such as 2016, 10, 8, to 12.
The characteristic string is formed by adopting a preset format to express the external condition corresponding to the service.
In one embodiment, step 202 comprises: the method comprises the steps of obtaining system state information, and generating a feature string according to the system state information and a preset template, wherein the preset template comprises data fields separated by preset separators, and the feature string comprises one or more data fields.
Specifically, the preset template refers to a template which is configured in advance according to needs. The preset delimiter refers to a preset delimiter. The separator may be a vertical line, a wavy line, a horizontal line, an underline, a dot, an asterisk, &,%, #, @, etc., without being limited thereto. A data field refers to a range of data. For example, the network load is 10 to 100MB (megabyte), the message pile-up is 0 to 10MB, the storage occupancy is 100MB to 1G (gigabyte), the CPU can occupy 50% of the maximum, and the generated feature string is 10240 and 102400|0-10240|102400 and 1073741824| 0-50.
And 204, acquiring the stored corresponding resource configuration parameter value according to the characteristic string, and running service according to the resource configuration parameter value.
Specifically, the server records the corresponding relationship between the characteristic string and the resource configuration parameter value. Different feature strings correspond to different resource configuration parameter values. And the resource configuration parameter value corresponding to the characteristic string is a resource configuration parameter value obtained by solidification in the last service running process. The resource configuration parameter value may include a fixed resource number, such as 100 fixed resources, 200 fixed resources, and so on.
When the service is operated, the corresponding resource configuration parameter value stored last time is obtained according to the characteristic string, and then the service is operated according to the obtained resource configuration parameter value.
And step 206, counting the running state data in real time, and acquiring the use ratio of the temporary resources according to the running state data.
In this embodiment, the statistical operation state data may include service data and service self state data. The service data may be video playing data, audio request data, text data, picture data, etc., but is not limited thereto. The service self-state data can comprise the counted times of service requests, the resource condition consumed by response processing of the service data and the like.
In one embodiment, obtaining the usage proportion of the temporary resource according to the operation state data includes: and acquiring the total request times and the request times for using the temporary resources in the running state data, and obtaining the use proportion of the temporary resources according to the ratio of the request times for using the temporary resources to the total request times.
Specifically, the total number of requests refers to the total number of service requests. The number of requests for using the temporary resource refers to the number of requests for using the temporary resource in addition to the fixed resource among the total number of requests. The temporary resource is a resource temporarily applied for ensuring normal operation of service processing when the number of resources required for processing the service exceeds the fixed resources allocated to the service.
The formula for calculating the use ratio of the temporary resources is as follows: the number of requests for using the temporary resource/the total number of requests is the ratio of the use of the temporary resource.
In this embodiment, the preset threshold range refers to a range of usage ratios of temporary resources set in advance according to needs or an empirical value range obtained by counting historical data. For example, the preset threshold range is 10% to 30%, etc., without being limited thereto.
Step 210, adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value, and running the service according to the updated resource configuration parameter value.
In this embodiment, when it is determined that the usage ratio of the temporary resource is not within the preset threshold range, it may be that the usage ratio of the temporary resource is smaller than a lower limit value of the preset threshold range or higher than an upper limit value of the preset threshold range. If the usage proportion of the temporary resources is smaller than the lower limit value of the preset threshold range, the redundancy of the allocated fixed resources is described, and the quantity of the fixed resources needs to be reduced, the resource configuration parameter value is reduced, and the updated resource configuration parameter value is obtained. And if the use ratio of the temporary resources is higher than the upper limit value of the preset threshold range, which indicates that the allocated fixed resources are insufficient, and the number of the fixed resources needs to be increased, increasing the resource configuration parameter value to obtain an updated resource configuration parameter value.
In this embodiment, when it is determined that the usage ratio of the temporary resource is within the preset threshold range, the resource configuration parameter value is kept unchanged, and the service is continuously run with the resource configuration parameter value.
In this embodiment, the preset time period may be set as required, such as 1 hour, 2 hours, 1 day, 2 days, and the like. The preset times can be set according to needs, such as 10000 times, 1000 times and the like.
If the usage proportion of the temporary resources obtained within the preset time length is within the preset threshold range, or the usage proportion of the temporary resources obtained continuously exceeding the preset times is within the preset threshold range, the resource configuration parameter values obtained by adjustment under the characteristic string are shown, the optimal resource ratio is achieved, and then the resource configuration parameter values corresponding to the feature string and the usage proportion of the temporary resources within the preset threshold range are correspondingly stored so as to be used when the same feature string is provided next time.
The resource allocation parameter values can be dynamically adjusted through Bayesian posterior probability, and then the adjusted resource allocation parameter values are used as the probability that the event is generated and the optimal resource ratio is achieved through re-detection.
The self-adaptive resource scheduling method comprises the steps of acquiring system state information, generating a characteristic string according to the system state information, acquiring a corresponding resource allocation parameter value according to the characteristic string to realize initial operation service, then counting the operation state information in real time, acquiring a temporary resource usage ratio according to the operation state information, judging that the temporary resource usage ratio is not in a preset threshold range, adjusting the resource allocation parameter value to acquire an updated resource allocation parameter value, operating the service according to the updated resource allocation parameter value, dynamically adjusting the resource allocation parameter value in such a way until the temporary resource usage ratio acquired within a preset time or continuous preset times is in the preset threshold range, the resource ratio under the characteristic string reaches an optimal state, correspondingly storing the characteristic string and the resource allocation parameter value, and enabling the resource allocation to be optimal due to the dynamic adjustment of the resource allocation parameter value, the utilization rate of resources is improved.
Moreover, for the service with stable service volume, the self-adaptive resource scheduling method can automatically find out the appropriate resource volume by self-adaptively and dynamically adjusting the resource allocation, thereby avoiding the waste caused by insufficient resources, service refusal or resource redundancy; for the steep rise and steep fall of periodic and continuous service volume, after learning, providing pre-in-place resources of pre-judging types; for irregular steep rise and fall of traffic, additional resources will be learned and provided in a shorter time to accommodate traffic changes.
In an embodiment, the adaptive resource scheduling method further includes: the upper limit value of the preset threshold range is a first preset threshold, and the lower limit value of the preset threshold range is a second preset threshold.
The judging whether the usage ratio of the temporary resource is within a preset threshold range, if not, adjusting a resource configuration parameter value to obtain an updated resource configuration parameter value, and running a service according to the updated resource configuration parameter value, if so, keeping the resource configuration parameter value unchanged, and includes:
judging whether the use ratio of the temporary resources exceeds the first preset threshold value, if so, adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value;
judging whether the use ratio of the temporary resources is smaller than the second preset threshold value or not, if so, adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value;
and if the use proportion of the temporary resources does not exceed the first preset threshold and is not smaller than the second preset threshold, keeping the resource configuration parameter value unchanged.
In this embodiment, the first preset threshold is greater than the second preset threshold. The corresponding relation between the resource configuration parameter value and the use proportion of the temporary resource can be established in advance. When the use proportion of the temporary resources exceeds a first preset threshold value, adjusting the use proportion of the temporary resources to be smaller than the first preset threshold value and larger than a second preset threshold value, obtaining corresponding resource configuration parameters according to the adjusted use proportion of the temporary resources, and adjusting the current resource configuration parameters to the resource configuration parameters corresponding to the adjusted use proportion of the temporary resources. When the use proportion of the temporary resources is judged to be smaller than the second preset threshold, the use proportion of the temporary resources is adjusted to be larger than the second preset threshold and smaller than the first preset threshold, corresponding resource configuration parameters are obtained according to the adjusted use proportion of the temporary resources, and the current resource configuration parameters are adjusted to be the resource configuration parameters corresponding to the adjusted use proportion of the temporary resources. In this embodiment, when the usage ratio of the temporary resource exceeds the first preset threshold, or when the usage ratio of the temporary resource is smaller than the second preset threshold, the resource configuration parameter value is directly adjusted to the required resource configuration parameter value, and the operation is simple.
In one embodiment, the determining whether the usage ratio of the temporary resource exceeds the first preset threshold, if so, adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value, and running the service according to the updated resource configuration parameter value may include: and judging whether the use ratio of the temporary resource exceeds the first preset threshold value, if so, increasing the resource configuration parameter value by the resource configuration parameter value with a first adjustment range to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value.
Judging whether the usage ratio of the temporary resource is smaller than the second preset threshold, if so, adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value, and running the service according to the updated resource configuration parameter value comprises: and judging whether the use ratio of the temporary resource is smaller than the second preset threshold value, if so, reducing the resource configuration parameter value of a second adjustment range at the resource configuration parameter value to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value.
In an embodiment, the adaptive resource scheduling method further includes: the upper limit value of the preset threshold range is a first preset threshold, and the lower limit value of the preset threshold range is a second preset threshold.
The judging whether the usage ratio of the temporary resource is within a preset threshold range, if not, adjusting a resource configuration parameter value to obtain an updated resource configuration parameter value, and running a service according to the updated resource configuration parameter value, if so, keeping the resource configuration parameter value unchanged, and includes:
judging whether the use ratio of the temporary resource exceeds the first preset threshold value, if so, increasing the resource configuration parameter value by the resource configuration parameter value with a first adjustment range to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value;
judging whether the use ratio of the temporary resource is smaller than the second preset threshold value, if so, reducing the resource configuration parameter value of a second adjustment range at the resource configuration parameter value to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value;
and if the use proportion of the temporary resources does not exceed the first preset threshold and is not smaller than the second preset threshold, keeping the resource configuration parameter value unchanged.
In this embodiment, the first preset threshold is greater than the second preset threshold. The first adjustment magnitude and the second adjustment magnitude refer to a proportion of the fixed resource that increases or decreases. The first and second adjustment magnitudes may be the same or different.
And when the use ratio of the temporary resources exceeds a first preset threshold value, the fact that the allocated fixed resources are insufficient is indicated, the number of the fixed resources needs to be increased, the system performance is improved, the probability of applying for the temporary resources is reduced, and the resource configuration parameter value is increased by the resource configuration parameter value with the first adjustment amplitude to obtain an updated resource configuration parameter value.
P (fixed resource 1) ═ P (fixed resource) + first modulation amplitude a × P (fixed resource)
Wherein, P (fixed resource 1) is an updated resource configuration parameter value. P (fixed resource) is the current resource configuration parameter value.
And when the use ratio of the temporary resources is judged to be smaller than a second preset threshold value, the distributed fixed resource redundancy is represented, the quantity of the fixed resources needs to be reduced, the resource utilization rate is improved, and the resource configuration parameter value is reduced by the resource configuration parameter value of a second adjustment range to obtain an updated resource configuration parameter value.
P (fixed resource 2) ═ P (fixed resource) -second modulation amplitude a × P (fixed resource)
Wherein, P (fixed resource 2) is an updated resource configuration parameter value. P (fixed resource) is the current resource configuration parameter value.
In this embodiment, by adjusting the resource allocation parameter value of the first adjustment range or the second adjustment range each time, fine adjustment can be achieved, the adjustment is more accurate, and the optimal resource allocation parameter value can be obtained step by step.
In one embodiment, the adaptive scheduling method further includes: and when the updated resource configuration parameter value is larger than the upper resource limit or the updated resource configuration parameter value is smaller than the lower resource limit, keeping the updated resource configuration parameter value larger than the upper resource limit or smaller than the lower resource limit and running service according to the adjacent previously updated resource configuration parameter value.
In this embodiment, the upper limit of the resource refers to the maximum number of resources that can be occupied. The lower resource limit refers to the minimum number of resources. The resource allocation parameter value is updated in real time, when the updated resource allocation parameter value is larger than the upper resource limit or smaller than the lower resource limit, the resource allocation parameter is not required to be updated, and the updated resource allocation parameter value is required to be kept larger than the upper resource limit or smaller than the lower resource limit, namely, the resource allocation parameter is not updated this time, and the current adjacent previous resource allocation parameter value is kept. By comparing the updated resource allocation parameter value with the upper resource limit and the lower resource limit, the allocated resource can be ensured to be in a reasonable range, and the utilization rate of the resource is improved.
In an embodiment, the adaptive resource scheduling method further includes: acquiring system state information after service operation in real time; and judging whether the system state information after the service operation corresponds to the feature string, if so, acquiring the stored corresponding resource configuration parameter value according to the feature string, otherwise, generating a new feature string according to the system state information after the service operation, and acquiring the stored corresponding resource configuration parameter value according to the new feature string.
In this embodiment, the system state information obtained in real time after the service is run corresponds to the feature string, the service is still run according to the corresponding resource configuration parameter value stored in the feature string or the updated resource configuration parameter value, if the system state information after the service is run does not conform to the feature string, a new feature string needs to be generated according to the system state information after the service is run, the corresponding resource configuration parameter value is obtained according to the new feature string, and then the service is run according to the resource configuration parameter value corresponding to the new feature string.
For example, the system status information includes a network load of 10 to 100MB, a message accumulation of 0 to 10MB, a storage occupancy of 100M to 1GB, and a CPU occupancy of 0 to 50%, and when the message accumulation is 11MB or the storage occupancy is 1.1GB, the system status information switches to another feature string.
By acquiring the system state information in real time, judging whether the system state information corresponds to the characteristic string or not, if not, generating a new characteristic string in time, acquiring a corresponding resource configuration parameter value according to the new characteristic string, realizing rough adjustment of resource configuration, and after finding the corresponding resource configuration parameter value, performing fine adjustment on the resource configuration in a self-adaptive manner, thereby shortening the time from self-adaptive adjustment to optimal resource configuration.
In order to describe the processing procedure of the adaptive resource scheduling method more clearly, the following description is made in conjunction with an application architecture of the adaptive resource scheduling method. As shown in fig. 3, the application architecture includes a service 310, a service and adaptation interface 320, and an adaptive generic module 330. The specific treatment process comprises the following steps:
(1) when the service 310 is started, the system state information is acquired to generate a feature string, the corresponding resource configuration parameter value is acquired from the solidified data storage area in the adaptive general module 330 through the service and adaptive interface 320 according to the feature string, the service is operated according to the resource configuration parameter value, and the operation state information is reported in real time.
(2) The real-time counting unit in the adaptive general module 330 reads the resource configuration parameter value adjusted last time and the current running state information adjusted last time in real time, and uploads the resource configuration parameter value and the current running state information to the decision unit in the adaptive general module 330.
(3) The decision unit in the adaptive general module 330 obtains the total number of requests and the number of requests for using the temporary resource according to the operation state information to obtain the usage proportion of the temporary resource, compares the usage proportion of the temporary resource with threshold data to judge whether the usage proportion of the temporary resource is within a preset threshold range, if not, generates an adaptive adjustment instruction, and sends the adaptive adjustment instruction to the adjustment execution unit in the adaptive general module 330.
(4) The adjustment execution unit in the adaptive general module 330 generates a new resource configuration parameter value according to the current resource configuration parameter value and the first adjustment range or the second adjustment range, and sends the updated resource configuration parameter value to the service 310 through the service and adaptive interface 320.
(5) The service 310 runs the service according to the updated resource configuration parameter values and reports the adjusted running state information to the real-time statistics unit of the adaptive generic module 330 through the service and adaptive interface 320.
(6) The real-time statistical unit of the adaptive general module 330 sends the adjusted running state information to the decision unit, and the decision unit judges that the usage proportion of the temporary resource obtained in the preset duration or the continuous preset times is within the preset threshold range, which indicates that the optimal resource configuration parameter value is reached, and writes the characteristic string and the optimal resource configuration parameter value into the solidified data storage area.
Further, the adaptive status in the case of insufficient resources obtained from the feature string consisting of | traffic | interface name | traffic fluctuation rate | time | is shown in fig. 4, the adaptive status in the case of appropriate resources is shown in fig. 5, and the adaptive status in the case of redundant resources is shown in fig. 6. In fig. 4, 5, and 6, the horizontal axis represents time in seconds, and the vertical axis represents the number of resources. As can be seen from fig. 4, 5 and 6, the required resources can be automatically calculated by the adaptive resource scheduling method. At a resource number of 0, it will quickly rise to the most appropriate number interval and start interval oscillation. And oscillating in the optimal interval immediately after the resource number inherits the last optimal number. When the redundancy of the resource number is large, the resource is released gradually until the resource number falls into the optimal resource interval, and then the oscillation is carried out in the optimal interval.
Fig. 7 is a block diagram of an adaptive resource scheduling apparatus according to an embodiment. As shown in fig. 7, an adaptive resource scheduling apparatus 700 includes a generation module 702, a resource configuration initialization module 704, a statistics module 706, a determination module 708, an adjustment module 710, and a storage module 712. Wherein:
the generating module 702 is configured to obtain system state information and generate a feature string according to the system state information.
Specifically, the system state information refers to external condition information corresponding to the service. The service is used to provide a corresponding response to the service request. The system state information may include one or more of network load, message pile-up, memory occupancy, computational busyness, traffic volume, interface name, traffic volume fluctuation rate, time, etc. The network load refers to the number of clients connected to the server. Message pile-up refers to the interval of the number of messages in the wait queue. Memory footprint refers to the interval in which memory may be allowed to be used. The calculation busy degree refers to how much proportion of a Central Processing Unit (CPU) is free and how much can be used by a service. Traffic refers to the number of services connected. The interface name refers to an interface name of an access service. The traffic fluctuation rate is a deviation degree between the maximum value and the minimum value of the traffic and the average value, and for example, the traffic fluctuation rate is 0.1 to 5, which means that the minimum value of the traffic is an average value of 0.1 times and the maximum value is an average value of 5 times. The average value is a traffic average value calculated from traffic data in a certain period of time. Time refers to the time range of adaptive resource scheduling usage, such as 2016, 10, 8, to 12.
The characteristic string is formed by adopting a preset format to express the external condition corresponding to the service.
In this embodiment, the generating module 702 is further configured to obtain system state information, and generate a feature string according to the system state information and a preset template, where the preset template includes data fields separated by preset separators, and the feature string includes one or more data fields.
The resource allocation initialization module 704 is configured to obtain a stored corresponding resource allocation parameter value according to the feature string, and run a service according to the resource allocation parameter value.
Specifically, the server records the corresponding relationship between the characteristic string and the resource configuration parameter value. Different feature strings correspond to different resource configuration parameter values. And the resource configuration parameter value corresponding to the characteristic string is a resource configuration parameter value obtained by solidification in the last service running process. The resource configuration parameter value may include a fixed resource number, such as 100 fixed resources, 200 fixed resources, and so on.
When the service is operated, the corresponding resource configuration parameter value stored last time is obtained according to the characteristic string, and then the service is operated according to the obtained resource configuration parameter value.
The statistic module 706 is configured to count the running state data in real time, and obtain a usage ratio of the temporary resource according to the running state data.
In this embodiment, the counting module 706 is further configured to obtain the total number of requests and the number of requests for using the temporary resource in the running state data, and obtain the usage ratio of the temporary resource according to the ratio of the number of requests for using the temporary resource to the total number of requests.
Specifically, the total number of requests refers to the total number of service requests. The number of requests for using the temporary resource refers to the number of requests for using the temporary resource in addition to the fixed resource among the total number of requests. The temporary resource is a resource temporarily applied for ensuring normal operation of service processing when the number of resources required for processing the service exceeds the fixed resources allocated to the service.
The determining module 708 is configured to determine whether the usage ratio of the temporary resource is within a preset threshold range.
In this embodiment, the preset threshold range refers to a range of usage ratios of temporary resources set in advance according to needs or an empirical value range obtained by counting historical data. For example, the preset threshold range is 10% to 30%, etc., without being limited thereto.
The adjusting module 710 is configured to adjust a resource configuration parameter value to obtain an updated resource configuration parameter value when it is determined that the usage ratio of the temporary resource is not within the preset threshold range, run a service according to the updated resource configuration parameter value, and keep the resource configuration parameter value unchanged when it is determined that the usage ratio of the temporary resource is within the preset threshold range.
In this embodiment, when it is determined that the usage ratio of the temporary resource is not within the preset threshold range, it may be that the usage ratio of the temporary resource is smaller than a lower limit value of the preset threshold range or higher than an upper limit value of the preset threshold range. If the usage proportion of the temporary resources is smaller than the lower limit value of the preset threshold range, the redundancy of the allocated fixed resources is described, and the quantity of the fixed resources needs to be reduced, the resource configuration parameter value is reduced, and the updated resource configuration parameter value is obtained. And if the use ratio of the temporary resources is higher than the upper limit value of the preset threshold range, which indicates that the allocated fixed resources are insufficient, and the number of the fixed resources needs to be increased, increasing the resource configuration parameter value to obtain an updated resource configuration parameter value.
The storage module 712 is configured to, if the usage ratios of the temporary resources obtained within the preset duration are all within a preset threshold range, or if the usage ratios of the temporary resources obtained continuously exceeding the preset number of times are all within a preset threshold range, correspondingly store the resource configuration parameter values corresponding to the feature strings and the usage ratios of the temporary resources that are all within the preset threshold range.
The self-adaptive resource scheduling device generates the characteristic string according to the system state information by acquiring the system state information, acquires the corresponding resource allocation parameter value according to the characteristic string to realize the initial operation service, then counts the operation state information in real time, acquires the temporary resource usage ratio according to the operation state information, judges that the temporary resource usage ratio is not in the preset threshold range, adjusts the resource allocation parameter value to acquire the updated resource allocation parameter value, operates the service according to the updated resource allocation parameter value, dynamically adjusts the resource allocation parameter value in such a way until the temporary resource usage ratio acquired in the preset time or the continuous preset times is in the preset threshold range, the resource ratio under the characteristic string reaches the optimal state, correspondingly stores the characteristic string and the resource allocation parameter value, and the resource allocation is optimal due to the dynamic adjustment of the resource allocation parameter value, the utilization rate of resources is improved.
In one embodiment, the upper limit value of the preset threshold range is a first preset threshold, and the lower limit value of the preset threshold range is a second preset threshold;
the determining module 708 is further configured to determine whether the usage ratio of the temporary resource exceeds the first preset threshold, and if so, the adjusting module 710 is further configured to adjust the resource configuration parameter value, obtain an updated resource configuration parameter value, and run a service according to the updated resource configuration parameter value;
the determining module 708 is further configured to determine whether the usage ratio of the temporary resource is smaller than the second preset threshold, and if so, the adjusting module 710 is further configured to adjust the resource configuration parameter value to obtain an updated resource configuration parameter value, and run a service according to the updated resource configuration parameter value;
the adjusting module 710 is further configured to keep the resource configuration parameter value unchanged if the usage proportion of the temporary resource does not exceed the first preset threshold and is not less than the second preset threshold.
In one embodiment, the upper limit value of the preset threshold range is a first preset threshold, and the lower limit value of the preset threshold range is a second preset threshold;
the determining module 708 is further configured to determine whether the usage ratio of the temporary resource exceeds the first preset threshold, and if so, the adjusting module 710 is further configured to increase the resource configuration parameter value by the resource configuration parameter value of a first adjustment range to obtain an updated resource configuration parameter value, and operate a service according to the updated resource configuration parameter value;
the determining module 708 is further configured to determine whether the usage ratio of the temporary resource is smaller than the second preset threshold, and if so, the adjusting module 710 is further configured to decrease the resource configuration parameter value of a second adjustment range from the resource configuration parameter value to obtain an updated resource configuration parameter value, and operate a service according to the updated resource configuration parameter value;
the adjusting module 710 is further configured to keep the resource configuration parameter value unchanged if the usage proportion of the temporary resource does not exceed the first preset threshold and is not less than the second preset threshold.
In this embodiment, the first preset threshold is greater than the second preset threshold. The first adjustment magnitude and the second adjustment magnitude refer to a proportion of the fixed resource that increases or decreases. The first and second adjustment magnitudes may be the same or different.
And when the use ratio of the temporary resources exceeds a first preset threshold value, the fact that the allocated fixed resources are insufficient is indicated, the number of the fixed resources needs to be increased, the system performance is improved, the probability of applying for the temporary resources is reduced, and the resource configuration parameter value is increased by the resource configuration parameter value with the first adjustment amplitude to obtain an updated resource configuration parameter value.
In one embodiment, the adjusting module 710 is further configured to, when the updated resource configuration parameter value is greater than the upper resource limit, or the updated resource configuration parameter value is less than the lower resource limit, keep the updated resource configuration parameter value greater than the upper resource limit or less than the lower resource limit, and run the service according to the adjacent previously updated resource configuration parameter value.
In this embodiment, the upper limit of the resource refers to the maximum number of resources that can be occupied. The lower resource limit refers to the minimum number of resources. By comparing the updated resource allocation parameter value with the upper resource limit and the lower resource limit, the allocated resource can be ensured to be in a reasonable range, and the utilization rate of the resource is improved.
Fig. 8 is a block diagram of an adaptive resource scheduling apparatus according to another embodiment. As shown in fig. 8, an adaptive resource scheduling apparatus 800 includes a generating module 802, a resource configuration initializing module 804, a counting module 806, a determining module 808, an adjusting module 810, a storing module 812, a status information acquiring module 814, and a monitoring module 816.
The status information acquiring module 814 is configured to acquire the system status information after the service is run in real time.
The monitoring module 816 is configured to determine whether the system state information after the service operation corresponds to the feature string, if so, the resource configuration initialization module 804 is further configured to obtain a stored corresponding resource configuration parameter value or an updated corresponding resource configuration parameter value according to the feature string, otherwise, the generation module 802 is further configured to generate a new feature string according to the system state information after the service operation, and the resource configuration initialization module 804 is further configured to obtain a stored corresponding resource configuration parameter value according to the new feature string.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (16)
1. An adaptive resource scheduling method, the method comprising:
acquiring system state information, and generating a feature string according to the system state information;
acquiring a stored corresponding resource configuration parameter value according to the characteristic string, and running service according to the resource configuration parameter value;
counting the running state data in real time, and acquiring the use proportion of temporary resources according to the running state data;
judging whether the use ratio of the temporary resources is within a preset threshold range, if not, adjusting resource configuration parameter values to obtain updated resource configuration parameter values, operating service according to the updated resource configuration parameter values, and if so, keeping the resource configuration parameter values unchanged;
and if the use ratios of the temporary resources obtained within the preset time length are all within the preset threshold range, or if the use ratios of the temporary resources obtained continuously exceeding the preset times are all within the preset threshold range, correspondingly storing the resource configuration parameter values corresponding to the feature strings and the use ratios of the temporary resources which are all within the preset threshold range.
2. The method according to claim 1, wherein the upper limit value of the preset threshold range is a first preset threshold value, and the lower limit value of the preset threshold range is a second preset threshold value;
the judging whether the usage ratio of the temporary resource is within a preset threshold range, if not, adjusting a resource configuration parameter value to obtain an updated resource configuration parameter value, and running a service according to the updated resource configuration parameter value, if so, keeping the resource configuration parameter value unchanged, and includes:
judging whether the use ratio of the temporary resources exceeds the first preset threshold value, if so, adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value;
judging whether the use ratio of the temporary resources is smaller than the second preset threshold value or not, if so, adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value;
and if the use proportion of the temporary resources does not exceed the first preset threshold and is not smaller than the second preset threshold, keeping the resource configuration parameter value unchanged.
3. The method according to claim 1, wherein the upper limit value of the preset threshold range is a first preset threshold value, and the lower limit value of the preset threshold range is a second preset threshold value;
the judging whether the usage ratio of the temporary resource is within a preset threshold range, if not, adjusting a resource configuration parameter value to obtain an updated resource configuration parameter value, and running a service according to the updated resource configuration parameter value, if so, keeping the resource configuration parameter value unchanged, and includes:
judging whether the use ratio of the temporary resource exceeds the first preset threshold value, if so, increasing the resource configuration parameter value by the resource configuration parameter value with a first adjustment range to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value;
judging whether the use ratio of the temporary resource is smaller than the second preset threshold value, if so, reducing the resource configuration parameter value by the resource configuration parameter value with a second adjustment amplitude to obtain an updated resource configuration parameter value, and running service according to the updated resource configuration parameter value;
and if the use proportion of the temporary resources does not exceed the first preset threshold and is not smaller than the second preset threshold, keeping the resource configuration parameter value unchanged.
4. The method of claim 1, further comprising:
and when the updated resource configuration parameter value is larger than the upper resource limit or the updated resource configuration parameter value is smaller than the lower resource limit, keeping the updated resource configuration parameter value larger than the upper resource limit or smaller than the lower resource limit and running service according to the adjacent previously updated resource configuration parameter value.
5. The method according to any one of claims 1 to 4, wherein the obtaining of the usage proportion of the temporary resource according to the operation state data comprises:
and acquiring the total request times and the request times for using the temporary resources in the running state data, and obtaining the use proportion of the temporary resources according to the ratio of the request times for using the temporary resources to the total request times.
6. The method according to any one of claims 1 to 4, wherein the obtaining system state information and generating a feature string according to the system state information comprises:
the method comprises the steps of obtaining system state information, and generating a feature string according to the system state information and a preset template, wherein the preset template comprises data fields separated by preset separators, and the feature string comprises one or more data fields.
7. The method according to any one of claims 1 to 4, further comprising:
acquiring system state information after service operation in real time;
and judging whether the system state information after the service operation corresponds to the feature string, if so, acquiring a stored corresponding resource configuration parameter value or an updated corresponding resource configuration parameter value according to the feature string, otherwise, generating a new feature string according to the system state information after the service operation, and acquiring a stored corresponding resource configuration parameter value according to the new feature string.
8. An adaptive resource scheduling apparatus, comprising:
the generating module is used for acquiring system state information and generating a characteristic string according to the system state information;
the resource allocation initialization module is used for acquiring the stored corresponding resource allocation parameter values according to the characteristic strings and running services according to the resource allocation parameter values;
the statistical module is used for counting the running state data in real time and acquiring the use proportion of the temporary resources according to the running state data;
the judging module is used for judging whether the use proportion of the temporary resources is within a preset threshold range;
the adjusting module is used for adjusting the resource configuration parameter value to obtain an updated resource configuration parameter value when the usage proportion of the temporary resource is judged not to be within the preset threshold range, operating the service according to the updated resource configuration parameter value, and keeping the resource configuration parameter value unchanged when the usage proportion of the temporary resource is judged to be within the preset threshold range;
and the storage module is used for correspondingly storing the resource configuration parameter values corresponding to the feature strings and the temporary resources with the use ratios within the preset threshold range if the use ratios of the temporary resources obtained within the preset time are all within the preset threshold range or if the use ratios of the temporary resources obtained continuously exceeding the preset times are all within the preset threshold range.
9. The apparatus according to claim 8, wherein the upper limit value of the preset threshold range is a first preset threshold value, and the lower limit value of the preset threshold range is a second preset threshold value;
the judging module is further configured to judge whether the usage proportion of the temporary resource exceeds the first preset threshold, and if so, the adjusting module is further configured to adjust the resource configuration parameter value to obtain an updated resource configuration parameter value, and run a service according to the updated resource configuration parameter value;
the judging module is further configured to judge whether the usage proportion of the temporary resource is smaller than the second preset threshold, and if so, the adjusting module is further configured to adjust the resource configuration parameter value to obtain an updated resource configuration parameter value, and run a service according to the updated resource configuration parameter value;
the adjusting module is further configured to keep the resource configuration parameter value unchanged if the usage proportion of the temporary resource does not exceed the first preset threshold and is not less than the second preset threshold.
10. The apparatus according to claim 8, wherein the upper limit value of the preset threshold range is a first preset threshold value, and the lower limit value of the preset threshold range is a second preset threshold value;
the judging module is further configured to judge whether the usage proportion of the temporary resource exceeds the first preset threshold, and if so, the adjusting module is further configured to increase the resource configuration parameter value by the resource configuration parameter value of a first adjustment range to obtain an updated resource configuration parameter value, and operate a service according to the updated resource configuration parameter value;
the judging module is further configured to judge whether the usage proportion of the temporary resource is smaller than the second preset threshold, and if so, the adjusting module is further configured to reduce the resource configuration parameter value by the resource configuration parameter value of a second adjustment range to obtain an updated resource configuration parameter value, and operate a service according to the updated resource configuration parameter value;
the adjusting module is further configured to keep the resource configuration parameter value unchanged if the usage proportion of the temporary resource does not exceed the first preset threshold and is not less than the second preset threshold.
11. The apparatus of claim 8, wherein the adjusting module is further configured to, when the updated resource configuration parameter value is greater than an upper resource limit, or the updated resource configuration parameter value is less than a lower resource limit, keep the updated resource configuration parameter value greater than the upper resource limit or less than the lower resource limit and run the service according to the adjacent previously updated resource configuration parameter value.
12. The apparatus according to any one of claims 8 to 11, wherein the statistical module is further configured to obtain a total number of requests and a number of requests for using the temporary resource in the operation status data, and obtain a usage ratio of the temporary resource according to a ratio of the number of requests for using the temporary resource to the total number of requests.
13. The apparatus according to any one of claims 8 to 11, wherein the generating module is further configured to obtain system status information, and generate a feature string according to the system status information and a preset template, where the preset template includes data fields separated by preset separators, and the feature string includes one or more data fields.
14. The apparatus of any one of claims 8 to 11, further comprising:
the state information acquisition module is used for acquiring the system state information after the service is operated in real time;
the monitoring module is configured to determine whether the system state information after the service operation corresponds to the feature string, if so, the resource configuration initialization module is further configured to obtain a stored corresponding resource configuration parameter value or an updated corresponding resource configuration parameter value according to the feature string, otherwise, the generating module is further configured to generate a new feature string according to the system state information after the service operation, and the resource configuration initialization module is further configured to obtain a stored corresponding resource configuration parameter value according to the new feature string.
15. A server comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any one of claims 1 to 7.
16. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610978566.0A CN108023759B (en) | 2016-10-28 | 2016-10-28 | Self-adaptive resource scheduling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610978566.0A CN108023759B (en) | 2016-10-28 | 2016-10-28 | Self-adaptive resource scheduling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108023759A CN108023759A (en) | 2018-05-11 |
CN108023759B true CN108023759B (en) | 2020-11-03 |
Family
ID=62084754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610978566.0A Active CN108023759B (en) | 2016-10-28 | 2016-10-28 | Self-adaptive resource scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108023759B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845884B (en) * | 2018-06-15 | 2024-04-19 | 中国平安人寿保险股份有限公司 | Physical resource allocation method, device, computer equipment and storage medium |
CN109586970B (en) * | 2018-12-13 | 2022-07-08 | 新华三大数据技术有限公司 | Resource allocation method, device and system |
CN110061935B (en) * | 2019-03-13 | 2022-02-18 | 平安科技(深圳)有限公司 | Flow source ratio adjusting method and device, computer equipment and storage medium |
CN110311810A (en) * | 2019-06-13 | 2019-10-08 | 北京奇艺世纪科技有限公司 | A kind of server resource allocation method, device, electronic equipment and storage medium |
CN110442428B (en) * | 2019-08-02 | 2022-08-02 | 北京智芯微电子科技有限公司 | Coordination method of Docker container |
CN111061560B (en) * | 2019-11-18 | 2022-12-06 | 江苏视博云信息技术有限公司 | Cloud rendering resource scheduling method and device, electronic equipment and storage medium |
CN111431996B (en) * | 2020-03-20 | 2022-08-09 | 北京百度网讯科技有限公司 | Method, apparatus, device and medium for resource configuration |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010063185A1 (en) * | 2008-12-03 | 2010-06-10 | 中兴通讯股份有限公司 | Method for adaptively adjusting system bandwidth in long term evolution system |
CN102573072A (en) * | 2010-12-29 | 2012-07-11 | 中国移动通信集团湖南有限公司 | Self-adaptive regulating method and device of network resource allocation as well as communication system |
CN102638457A (en) * | 2012-03-23 | 2012-08-15 | 苏州阔地网络科技有限公司 | Method and system for automatically allocating server resource |
CN102791033A (en) * | 2011-05-19 | 2012-11-21 | 福建联拓科技有限公司 | Self-adaption resource regulation method and equipment |
CN103248659A (en) * | 2012-02-13 | 2013-08-14 | 北京华胜天成科技股份有限公司 | Method and system for dispatching cloud computed resources |
-
2016
- 2016-10-28 CN CN201610978566.0A patent/CN108023759B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010063185A1 (en) * | 2008-12-03 | 2010-06-10 | 中兴通讯股份有限公司 | Method for adaptively adjusting system bandwidth in long term evolution system |
CN102573072A (en) * | 2010-12-29 | 2012-07-11 | 中国移动通信集团湖南有限公司 | Self-adaptive regulating method and device of network resource allocation as well as communication system |
CN102791033A (en) * | 2011-05-19 | 2012-11-21 | 福建联拓科技有限公司 | Self-adaption resource regulation method and equipment |
CN103248659A (en) * | 2012-02-13 | 2013-08-14 | 北京华胜天成科技股份有限公司 | Method and system for dispatching cloud computed resources |
CN102638457A (en) * | 2012-03-23 | 2012-08-15 | 苏州阔地网络科技有限公司 | Method and system for automatically allocating server resource |
Non-Patent Citations (1)
Title |
---|
基于任务延迟的云计算资源调度算法研究;杨照峰,王启明,吕海莲;《计算机测量与控制 》;20140225;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN108023759A (en) | 2018-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108023759B (en) | Self-adaptive resource scheduling method and device | |
US9984013B2 (en) | Method, controller, and system for service flow control in object-based storage system | |
US9930111B2 (en) | Techniques for web server management | |
US8275787B2 (en) | System for managing data collection processes | |
CN110716808B (en) | Service processing method, device, computer equipment and storage medium | |
WO2016172848A1 (en) | Method and device for adjusting virtual resources in cloud computing | |
CN112165436A (en) | Flow control method, device and system | |
CN109710412A (en) | A kind of Nginx load-balancing method based on dynamical feedback | |
US20180309686A1 (en) | Reducing rate limits of rate limiters | |
US11966273B2 (en) | Throughput-optimized, quality-of-service aware power capping system | |
CN111078386A (en) | Control method and control device of distributed scheduling system | |
CN112003790B (en) | Distribution method of network traffic used by intelligent school | |
AU2024200064A1 (en) | Method and system for expansion/reduction of capacity of internet-of-vehicles platform and storage medium | |
CN116244061A (en) | Pod scheduling method, storage medium and device based on k8s | |
US20150106820A1 (en) | Method and apparatus for providing allocating resources | |
CN103179051A (en) | Streaming media forwarding method and system | |
CN108243112B (en) | Chat group network flow control method and device, storage medium and computing equipment | |
CN113934531A (en) | High-throughput flow processing method and device | |
CN116701126B (en) | Pod capacity control method and device | |
CN115883486B (en) | Method and system for dynamically and longitudinally expanding and contracting and guaranteeing service in edge cloud mixed part scene | |
CN118400377B (en) | Cloud storage platform resource allocation method | |
CN115955496A (en) | Internet of things hydropower production data transmission method and system | |
CN117724849A (en) | Connection pool management method, device, electronic equipment and computer readable storage medium | |
CN116320031A (en) | Server response method, device and medium | |
CN115480906A (en) | Resource allocation method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |