Service rollback method and device under micro-service architecture

A micro-service and point-in-time technology, applied in the computer field, can solve problems such as user experience impact, micro-service system operation impact, etc.

Pending Publication Date: 2020-04-28
BEIKE TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the microservices are in a low-coupling relationship, they depend on each other in calls. The unav

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
  • Service rollback method and device under micro-service architecture
  • Service rollback method and device under micro-service architecture
  • Service rollback method and device under micro-service architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The specific implementation manners of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation manners described here are only used to illustrate and explain the embodiments of the present invention, and are not intended to limit the embodiments of the present invention.

[0029] figure 1 A schematic flowchart of a service rollback method under a microservice architecture is shown according to an embodiment of the present invention. Such as figure 1 As shown, the embodiment of the present invention provides a service rollback method under the microservice architecture, and the method can be executed, for example, by a microservice publishing system. It should be noted that the "first microservice" and "second microservice" in this embodiment of the present invention are only used for illustration, and the second microservice that has a coupling re...

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 embodiment of the invention provides a service rollback method and device under a micro-service architecture, and belongs to the technical field of computers. The method comprises: under the condition that a first micro-service fault is detected, judging whether a second micro-service coupled with the first micro-service with the fault exists or not, wherein the first micro-service and/or thesecond micro-service comprise one or more examples; determining a first rollback time point in the case of having a second micro-service coupled to the failed first micro-service; determining available versions of each instance of the first micro-service and each instance of the second micro-service before the first rollback time point; and respectively rolling back the instances of the first micro-service and the second micro-service to available versions before the first rolling-back time point. Rapid rollback based on a time point is realized, so that the influence of a micro-service faulton the operation of a system for calling the micro-service is rapidly stopped.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a service rollback method and device under a microservice architecture. Background technique [0002] Under the microservice architecture, due to the finer granularity of componentization and modularization, usually a system that provides services to users will have multiple microservice supports and calls in the background. Although the microservices are in a low-coupling relationship, they depend on each other in calls. The unavailability of any microservice will affect the operation of the system and thus affect the user experience. Contents of the invention [0003] The purpose of the embodiment of the present invention is to provide a service rollback method and device under the microservice architecture, which is used to provide a fast rollback solution based on time points. [0004] In order to achieve the above object, an embodiment of the present invention p...

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): G06F11/14
CPCG06F11/1458G06F11/1438
Inventor 王蕾
Owner BEIKE TECH CO LTD
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