Upgrading method and upgrading device for micro-service
A micro-service, technology to be upgraded, applied in the computer field, can solve problems such as inconvenient upgrade management, and achieve the effect of improving efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2018-07-10
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present application relates to the field of computer technology, and more specifically, to a method and device for upgrading microservices. Background technique
[0002] Microservice (Microservice) system is a cloud-based distributed system that is very popular on the Internet. Microservice refers to the smallest software unit with high cohesion and low coupling in function, which can be independently developed, compiled, tested, released, deployed, upgraded, and operated.
[0003] Zero-interruption business upgrade is a very important function of the microservice system. The zero-interruption business upgrade function means that during the entire process of a microservice upgrade, the microservice can provide continuous and uninterrupted business response capabilities to the outside world. After the microservice system has the zero-interruption business upgrade function, it can also achieve zero business interruption during the microservice upgr...
Examples
Embodiment Construction
[0046] The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings.
[0047] In order to facilitate understanding and description of the embodiments of the present invention, the following first combines figure 1 Describe the architecture of a microservice system.
[0048] figure 1 It is a schematic diagram of the architecture of the microservice system. A microservice system can include multiple microservices, in figure 1 In , the microservice system including microservice 1, microservice 2 and microservice 3 is taken as an example for illustration. The same microservice can deploy microservice instances on multiple nodes. Such as figure 1 As shown, microservice 1 deploys service instance 1 on node 1 and node 2 respectively, microservice 2 deploys service instance 2 on node 1 and node 2 respectively, and microservice 3 deploys service instance 3 on node 1 and node 2 respectively .
[0049] The ...