Intelligent capacity expanding and shrinking method and device, computer equipment and storage medium
A computer program and resource technology, applied in the computer field, can solve problems such as economic losses of operators, system crashes, and service quality degradation, and achieve the effects of ensuring the rational use of resources, ensuring stable operation, and preventing waste of resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Such as figure 1 As shown, an intelligent expansion and contraction method of the present invention is shown, including the following steps:
[0045] Step S1, obtain the historical resource load data of the system to be expanded and reduced capacity and the resource amount at the current moment (the resource amount at the current moment is equal to the sum of the resource load amount and the idle resource amount of the system at the current moment), and the obtained historical resource load The data is stored in the CVS (Comma-Separated Values) table in chronological order. Among them, the historical resource load data of the system includes: the number of online instances corresponding to each moment of the system, the size of the CPU occupied by each instance per unit time, the size of the memory occupied by each instance per unit time, the service request volume of each instance, and the data such as response time. These data can reflect which time periods the syst...
Embodiment 2
[0057] Such as figure 2 As shown, an intelligent capacity expansion and contraction device is shown, including a data acquisition module, a prediction module, a calculation module, a capacity expansion module and a capacity reduction module. in:
[0058] The data acquisition module is used to obtain the corresponding historical resource load data of the system and the resource amount at the current moment (the resource amount at the current moment is equal to the sum of the resource load amount and the idle resource amount of the system at the current moment), and the acquired historical resource load data Saved in chronological order in a CSV table. Among them, the historical resource load data of the system includes: the number of online instances corresponding to each moment of the system, the size of the CPU occupied by each instance per unit time, the size of the memory occupied by each instance per unit time, the service request volume of each instance, and the data s...
Embodiment 3
[0071] This embodiment provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server, or a multi- A server cluster composed of servers), etc. The computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as Figure 4 shown. It should be pointed out that, Figure 4 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.
[0072] In this embodiment, the memory 21 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card type memory (for example, step SD or DX memory, etc.), random access memory (RAM), static random acc...
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