Micro-service automatic telescoping system and method, corresponding equipment and storage medium

An auto-scaling and micro-service technology, applied in the transmission system, digital transmission system, database management system, etc., can solve the problems of long time consumption, slow response time, and aggravated labor costs of operation and maintenance personnel, so as to improve utilization efficiency and rational utilization Resources, the effect of improving resource utilization efficiency

Active Publication Date: 2021-01-29
望海康信(北京)科技股份公司
View PDF13 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] One of the existing dynamic scaling micro-service solutions is human intervention. This solution can accurately identify traffic peaks and valleys, but it often takes a long time and the response time is relatively slow, which increases the labor cost of operation and maintenance personnel and increases The unexpected risk factors caused by human misoperation; the other is automatic service elastic scaling through Kub

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 automatic telescoping system and method, corresponding equipment and storage medium
  • Micro-service automatic telescoping system and method, corresponding equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments and examples of the present invention will be described in detail below with reference to the drawings.

[0030] The scope of applicability of the present invention will become apparent from the detailed description given below. It should be understood, however, that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are given for purposes of illustration only.

[0031] Kubernetes, referred to as K8s, is an open source engine for managing containerized applications on multiple hosts in the cloud platform. Kubernetes has a HPA (Horizontal Pod Autoscaler) resource, which can realize the automatic scaling function of Pods based on CPU usage.

[0032] figure 1 A block diagram showing a preferred embodiment of the microservice automatic scaling system according to the present invention, the system includes:

[0033] The monitoring module 102 is used to monitor the execution of the business logic code and...

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 invention discloses a micro-service automatic telescoping system and method, corresponding equipment and a storage medium, and the system comprises a monitoring module which is used for monitoringthe execution of a service logic code in each online micro-service copy, carrying out the statistics of the number of service requests, and providing a monitoring result query interface in a servicemode; an acquisition module which is used for regularly polling the monitoring result query interface of each micro-service copy and acquiring the real-time access traffic of the service request; a storage module which is used for storing the collected real-time access traffic in a database; a conversion module which is used for converting the service request real-time access traffic of the same micro service into a monitoring index of the HPA adaptive to the Kubernetes; and an expansion and contraction module which is used for automatically expanding and contracting the capacity of the corresponding micro-service based on a preset HPA capacity expansion and contraction rule according to the monitoring indexes. According to the system, the micro-service can be more accurately and automatically expanded and contracted, different resource requirements in different periods are dynamically met, and the utilization efficiency of resources is improved.

Description

technical field [0001] The present application relates to the field of electrical digital data processing, and in particular to a microservice automatic scaling system, method, corresponding equipment and storage medium. Background technique [0002] With the prevalence of microservice software architecture, the original single software application is often split into multiple microservices with high cohesion, low coupling, and stateless characteristics. With the continuous development of business, the number of microservices will also increase accordingly. How to coordinate various services running online and guarantee the SLA of the service is a big challenge to the service architecture and operation and maintenance personnel. With the expansion of business scale, some microservices have tight resource usage during peak traffic periods, while other unpopular services have excessive resource usage. In order to reasonably allocate the resource occupancy of each service, dy...

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
IPC IPC(8): H04L12/24H04L12/26G06F16/25
CPCG06F16/252H04L41/0896H04L43/08H04L43/0876
Inventor 张富卿许明娄景军段雅亭孟庆安
Owner 望海康信(北京)科技股份公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products