Configuration information updating method and device under micro-service architecture and electronic equipment

A technology of configuring information and updating methods, which is applied in the direction of electrical components, software deployment, version control, etc., can solve the problems of not being able to obtain configuration information in time, not being able to respond to services in a timely manner, and affecting system performance, so as to save network resource costs and improve efficiency , The effect of reducing operation and maintenance costs

Pending Publication Date: 2021-06-01
亿企赢网络科技有限公司
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the configuration information of the server is changed, the application service of the client needs to download all the configuration information from the server. In the case of high concurrency, the performance of the system will be affected due to the network return delay, and the client cannot obtain it in time. The required configuration information cannot respond to the service in time, and the user experience is poor

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
  • Configuration information updating method and device under micro-service architecture and electronic equipment
  • Configuration information updating method and device under micro-service architecture and electronic equipment
  • Configuration information updating method and device under micro-service architecture and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0038] Microservice architecture is a computer architecture that breaks down system functions into sub-services. Each microservice is the smallest application management unit, and these applications can be independently developed, designed, and released. Configuration hot update means that when the configuration information is modified, there is no need to restart the server, and the configuration information takes effect in real time. Currently, there are tw...

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 configuration information updating method, device and system under a micro-service architecture, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining configuration information corresponding to a micro-service application from a server when the micro-service application is started, and storing the configuration information to a memory; when an updating instruction of the configuration information pushed by a target cluster of the server is received, sending a downloading request of the configuration information corresponding to the updating instruction to the server; and receiving configuration information corresponding to an updating instruction sent by the server, and updating the configuration information in the current memory according to the configuration information corresponding to the updating instruction. The configuration information corresponding to the updating instruction is only obtained from the server, all the configuration information does not need to be downloaded, the efficiency of obtaining the configuration information is improved, the configuration information is stored in the memory, the configuration information does not need to be obtained from the server every time the configuration is used, information interaction between the server and the client is reduced. And the network resource cost is saved.

Description

technical field [0001] The present invention relates to the technical field of distributed microservices, and in particular to a method, device, system, electronic equipment, and computer-readable storage medium for updating configuration information under a microservice architecture. Background technique [0002] In the Internet microservice scenario, application services are becoming more and more complex, and the program contains various types of configuration information: middleware configuration, framework configuration, application configuration, black and white lists, grayscale switches, etc. In a non-distributed environment, a single application can be deployed on one machine, and the configuration file can be modified in one server and then restarted to take effect in real time. However, in a distributed environment, a microservice may need to be deployed to thousands of machines, with a huge workload, and many application parameters need to be dynamically updated a...

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): G06F8/65G06F8/71H04L29/08
CPCG06F8/65G06F8/71H04L67/55
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