Method, device and system for adjusting number of micro-service containers, medium and equipment

An adjustment method and microservice technology, applied in the Internet field, can solve the problems of inability to accurately adjust the number of microservice containers and low efficiency, and achieve the effect of precise adjustment and optimized configuration

Active Publication Date: 2020-06-19
望海康信(北京)科技股份公司
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The open source container orchestration engine k8s can implement functions such as application deployment, maintenance, and expansion mechanism. When microservices are deployed on k8s in the form of containers, the number of containers needs to be configured. k8s can create or delete containers according to the status of the containers, but when When business requirements are adjusted, it is necessary to manually adjust the number of microservice containers, but the manual adjustment method cannot accurately adjust the number of microservice containers, and the efficiency is low

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
  • Method, device and system for adjusting number of micro-service containers, medium and equipment
  • Method, device and system for adjusting number of micro-service containers, medium and equipment
  • Method, device and system for adjusting number of micro-service containers, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and are not construed as limiting the present application.

[0053] In the method for adjusting the number of micro-service containers provided by the embodiment of the present application, the executing subject can be implemented as part or all of the terminal through software, hardware, or a combination of software and hardware. In the following method embodiments, the execution subject is a server as an example for illustration.

[0054] This application firstly provides a method for adjusting the number of microservice containers. The flow chart of the method for adjusting the number of microser...

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 relates to the technical field of Internet, in particular to a method, device and system for adjusting the number of micro-service containers, a medium and equipment, and the method comprises the steps: determining the delay percentage of the micro-service containers, and determining the single-point access rate of the micro-service containers according to the delay percentage; determining an overall access rate of a micro-service cluster in a preset time period, the micro-service cluster comprising a preset number of micro-service containers; determining the number of required containers of the micro-service cluster according to the overall access rate and the single-point access rate; and if the number of the required containers is inconsistent with the preset number, adjusting the number of the micro-service containers according to the number of the required containers. According to the scheme, the number of the micro-service containers can be accurately adjusted basedon service requirements, and manual intervention is reduced.

Description

technical field [0001] The present application relates to the technical field of the Internet, and in particular, the present application relates to a method, device, system, medium and equipment for adjusting the number of microservice containers. Background technique [0002] Microservice architecture is a new software architecture pattern. Microservice divides a complex system into dozens or even hundreds of individual small services. Each complex service implements a separate logic, and each small service is deployed in a different in progress. [0003] The open source container orchestration engine k8s can implement functions such as application deployment, maintenance, and expansion mechanism. When microservices are deployed on k8s in the form of containers, the number of containers needs to be configured. k8s can create or delete containers according to the status of the containers, but when When business requirements are adjusted, it is necessary to manually adjust ...

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 & AuthorityApplications(China)
IPC IPC(8): G06F9/455G06F9/50
CPCG06F9/45558G06F9/5077G06F2009/45562G06F2009/45583G06F2009/45595
Inventor史先澳娄景军
Owner望海康信(北京)科技股份公司