Resource control method and device, electronic equipment and computer readable storage medium
A resource control and resource technology, applied in the computer field, can solve problems such as jitter, and achieve the effect of avoiding jitter
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0093] Step S610, performing a quotient operation on the number of target tasks and the number of tasks executed by a single instance to obtain the number of first instances;
[0094] Step S620, perform a resource expansion operation according to the first instance quantity.
[0095] That is to say, in an optional embodiment, the target task number and the number of tasks executed by a single instance may be calculated to obtain the first instance number, and then resource expansion operations are performed according to the first instance number. That is, the first number of instances obtained is the number of instances corresponding to the expansion operation; therefore, the resource expansion operation based on the first number of instances can enable the execution of the target task, which is sufficient to support the normal operation of the preset service, and will not be caused by Random expansion of resources results in too much or too little expansion.
[0096] Specifi...
no. 2 example
[0110] Specifically, the second instance quantity can be obtained by the following formula:
[0111]
[0112] Optionally, if there is no target task, the total number of instances required to run the preset service can also be calculated; specifically, the total number of instances required to run the preset service can be obtained by the following formula:
[0113]
[0114]In the embodiment of this application, resource expansion is performed when the number of blocked target tasks included in the preset service reaches the preset blocked number threshold, instead of when the utilization rate of the resource pool is greater than the corresponding resource parameter. When the upper threshold of the preset utilization rate is reached, the resource expansion operation will be performed, so that the resources can run at full capacity, thereby avoiding the problem of jitter caused by frequent resource expansion and contraction operations, and only when the number of blocked t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com