Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

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

Inactive Publication Date: 2018-07-10
HUAWEI TECH SERVICE
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] As can be seen from the above, the existing microservice upgrade solutions lack effective management of microservice upgrades. For example, it is not easy to upgrade management when faced with a large number of microservices that need to be upgraded.

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
  • Upgrading method and upgrading device for micro-service
  • Upgrading method and upgrading device for micro-service
  • Upgrading method and upgrading device for micro-service

Examples

Experimental program
Comparison scheme
Effect test

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 ...

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 provides an upgrading method and an upgrading device for micro-service. The upgrading method comprises: determining at least a to-be-upgraded micro-service; determining at least two nodes deployed by the at least a micro-service; according to an upgrade strategy, dividing the at least two nodes into a plurality of groups having different priorities, wherein each group includes at least a node determined according to the upgrade strategy, and the nodes deployed by the same micro-service in the at least a micro-service at least belong to two groups of the plurality of groups; according to the priorities of the plurality of groups, upgrading at least a micro-service. Therefore, upgrade management of micro-service can be preferably realized, so as to improve integrated efficiencyfor upgrading micro-service.

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...

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): G06F8/658
Inventor 胡圣东
Owner HUAWEI TECH SERVICE
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
Eureka Blog
Learn More
PatSnap group products