Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Micro-service fault positioning method based on runtime atlas analysis

A fault location and micro-service technology, applied in response to error generation, hardware monitoring, instruments, etc., can solve problems such as difficult fault location, poor effect, low efficiency, etc., to reduce manual workload, reduce fault location time, The effect of narrowing your search

Pending Publication Date: 2020-10-02
FUDAN UNIV
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Microservice systems are more complex and dynamic than general monomer systems and distributed systems, making the aforementioned methods less effective
When a fault occurs in the microservice system, developers have to face complex service interaction relationships, diverse operating environments, and dynamically created and destroyed instances, making fault location difficult and inefficient

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
  • Micro-service fault positioning method based on runtime atlas analysis
  • Micro-service fault positioning method based on runtime atlas analysis
  • Micro-service fault positioning method based on runtime atlas analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following describes the implementation of runtime graph construction and fault location based on runtime graph analysis for a microservice system that uses Docker and Kubernetes to deploy and orchestrate containers, and uses Prometheus and Zipkin to collect monitoring data and call chain data.

[0040]For the real-time construction and dynamic update of the microservice runtime graph, the implementation method is as follows:

[0041] (1) Extract the deployment architecture. Obtain the status and attribute data of virtual machines, microservice instances, and microservices in the cluster from the Kubernetes platform interface; obtain the status and attribute data of each container from the interface provided by the Docker Daemon process on each virtual machine. The io.kubernetes.pod.name attribute of the container indicates the microservice instance it belongs to; the podSpec.nodeName attribute of the microservice instance indicates its deployment location; the label...

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 belongs to the technical field of software engineering and cloud computing, and particularly relates to a micro-service fault positioning method based on runtime atlas analysis. The method automatically updates and maintains the micro-service runtime map based on the micro-service system runtime data, evaluates the abnormality of each system component by means of the data in the mapwhen a request fault occurs, analyzes the propagation relationship of the abnormality, and finally obtains a fault positioning result. The method specifically comprises the following steps: real-timeconstruction and dynamic updating of a micro-service runtime map; fault positioning based on the runtime map; the method constructs a runtime map by using data such as service deployment, service calling and monitoring indexes of a micro-service system, wherein the runtime map is used for describing the running state of the micro-service system; and after a fault occurs, each component of the system is analyzed according to the map data, and the most possible fault position is provided for developers, so that the fault positioning speed is increased, and the manual workload is reduced.

Description

technical field [0001] The invention belongs to the technical field of software engineering and cloud computing, and in particular relates to a microservice fault location method. Background technique [0002] Microservice architecture is an architectural concept that disassembles the entire application into several decoupled functional modules. Each functional module has a separate process and operating environment, and they exchange information through lightweight communication protocols (such as RPC protocol or HTTP protocol). Such functional modules are called microservices. The fine-grained division of microservices and the isolation of the operating environment enable applications based on the microservice architecture to be independently developed and deployed, and flexibly scaled as needed. Microservice architecture has become a key technology in cloud native technology and is widely used in many enterprises. [0003] Fault location is an important part of system O...

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): G06F11/07G06F16/36G06F11/30
CPCG06F11/079G06F16/367G06F11/3058G06F11/3006Y02D10/00
Inventor 彭鑫冀超
Owner FUDAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products