Configuration and service hot overload updating method and device, computer equipment and storage medium

An update method and technology to be updated, applied in the computer field, can solve the problems of complex operation, numerous steps, no encryption function, etc., and achieve the effect of simple operation and simple steps

An update method and technology to be updated, applied in the computer field, can solve the problems of complex operation, numerous steps, no encryption function, etc., and achieve the effect of simple operation and simple steps

CN112965837APending Publication Date: 2021-06-15杭州银行股份有限公司

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Configuration and service hot overload updating method and device, computer equipment and storage medium
  • Configuration and service hot overload updating method and device, computer equipment and storage medium
  • Configuration and service hot overload updating method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060]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 some of the embodiments of the present invention, but not all of them. 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.

[0061] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0062] It should also be understood that the terminology used i...

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 a configuration and service hot heavy load updating method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining a modified configuration to obtain a to-be-updated configuration; constructing a new configuration shared memory, and obtaining a keyword of the configuration shared memory; brushing the to-be-updated configuration into a configuration shared memory; storing the configuration shared memory keyword into an index shared memory; obtaining an access request of a local application; obtaining an index shared memory corresponding to the access request to obtain a corresponding configuration shared memory keyword; judging whether the corresponding configuration shared memory keyword is updated or not; and if the corresponding configuration shared memory keyword is updated, disconnecting the currently connected configuration shared memory of the local application, and driving the local application to be connected with a new configuration shared memory, so that the local application uses the corresponding configuration. According to the method and the system, configuration updating and application service cluster operation, maintenance and updating are facilitated, operation is simple, and application updating without service interruption is realized with simple steps.

Description

technical field [0001] The present invention relates to a computer, and more specifically refers to a configuration and service hot reload update method, device, computer equipment and storage medium. Background technique [0002] Spring Cloud is a one-stop solution for micro-service system architecture. Spring Cloud needs to enable Spring Config and third-party MQ (Message Queue, Message Queue) products to cooperate with hot configuration updates. The selection is heavy, and there is no encryption function, so it cannot be set Change time points, such as configuration delivery and effective time, often have time point requirements, for example, it is taboo to change the configuration during a transaction processing, and the Spring Cloud application service running instance cannot achieve non-stop service, only the overall cold update application . [0003] At present, to solve this problem, the mainstream solution is to update the application without interrupting the servi...

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
15 Jun 2021
Publication
CN112965837A
IPC
G06F9/54; G06F9/445; G06F8/65; G06F8/71
CPC
G06F9/544; G06F9/44521; G06F8/65; G06F8/71
Inventors
胡飞华; 厉华