Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2020-04-07
ZTE CORP
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005]In view of this, the purpose of the embodiment of the present application is to provide a microservice instance elastic scaling method, device and computer-readable storage medium to solve the problem of existing elastic scaling The problem that the existing method cannot meet the requirements of multi-service interrelated applications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Micro-service instance elastic scaling method and device and storage medium
  • Micro-service instance elastic scaling method and device and storage medium
  • Micro-service instance elastic scaling method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a micro-service instance elastic scaling method and device and a computer readable storage medium. The method comprises the following steps: acquiring idle resource conditions in total resources, the number of micro-service instances required by each service in a plurality of services, the number of micro-service instances allocated to each service and themaximum number of micro-service instances which can be allocated to each service; calculating the number of micro-service instances needing to be increased or decreased for each service; and adjusting the number of the micro-service instances of each service according to the number of the micro-service instances needing to be increased or decreased of each service. According to the embodiment ofthe invention, the number of micro-service instances of each service in a plurality of services is dynamically adjusted, and the problem that an existing elastic telescopic mode cannot meet the requirement of multi-service correlative application is solved; under the condition of ensuring that the processing capacity of the service is not influenced by other services, the number of micro-service instances of each service is under the optimal condition; resource utilization rate is improved.

Description

technical field [0001] The embodiments of the present application relate to the technical field of communications, and in particular to a method, device, and computer-readable storage medium for elastic scaling of microservice instances. Background technique [0002] According to business needs and policies, the network management system can automatically calculate the management services of its elastic resources, seamlessly increase microservice instances when meeting business demand peak growth, and automatically reduce microservice instances to save costs when business demand drops, that is It has become a common requirement for current big data applications that the system should be able to elastically scale microservice instances. [0003] In traditional open source frameworks or systems, the elastic scaling of resources is only based on the remaining resources (CPU and memory) or how much the load exceeds, and the preset number will pop up and the number to be reduced ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/51H04L65/40
Inventor 王洪玲
Owner ZTE CORP