Micro-service instance elastic scaling method and device and storage medium
An elastic scaling and micro-service technology, applied in the field of communication, can solve the problems that cannot meet the requirements of multi-service interrelated applications, and achieve the effect of improving resource utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0021] Such as figure 1 As shown, the first embodiment of the present application provides a microservice instance elastic scaling method, the method includes:
[0022] Step S11: Obtain the status of idle resources among the total resources, the number of microservice instances required by each of multiple businesses, the number of microservice instances allocated to each business, and the maximum microservice instances that can be allocated to each business The number of service instances.
[0023] In one embodiment, the acquisition of idle resource status in the total resources, the number of microservice instances required by each of multiple businesses, the number of microservice instances allocated to each business, and the number of microservice instances that can be allocated to the The maximum number of microservice instances per business, previously also included:
[0024] Obtain the total resources, the number of tasks of each business, the time-consuming of a sing...
example
[0055] In this embodiment, according to the status of idle resources in the total resources, the number of microservice instances required by each business, the number of microservice instances allocated to each business, and the number of microservice instances that can be allocated to the The maximum number of microservice instances for each business, and calculate the number of microservice instances that need to be increased or reduced for each business, including:
[0056] The number of microservice instances required by each business is greater than the number of microservice instances allocated to each business, and the number of microservice instances allocated to each business is equal to the maximum microservice instances that can be allocated to each business In the case of the number of service instances and the total resources still have free resources, the number of microservice instances that each business needs to increase is the number of microservice instances...
no. 2 example
[0095] Such as Figure 4 As shown, the second embodiment of the present application provides a microservice instance elastic scaling device, the device includes: a memory 21, a processor 22, and a micro A service instance elastic scaling program, when the microservice instance elastic scaling program is executed by the processor 22, it is used to implement the following steps of the microservice instance elastic scaling method:
[0096] Obtain the status of idle resources in the total resources, the number of microservice instances required by each of the multiple businesses, the number of microservice instances allocated to each business, and the maximum number of microservice instances that can be allocated to each business ;
[0097] According to the status of idle resources in the total resources, the number of microservice instances required by each business, the number of microservice instances allocated to each business, and the maximum microservice instance that can b...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


