Call chain data-based micro-service running state judgment method and device

A technology of running status and microservices, applied in the field of microservices, can solve the problems of high cost of positioning problems, increased difficulty of positioning problems, complex dependencies of microservices, etc., to reduce costs and reduce losses.

Pending Publication Date: 2020-04-10
BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, with the continuous increase of system functions, the dependencies between microservices have become more and more complex. This sit...

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
  • Call chain data-based micro-service running state judgment method and device
  • Call chain data-based micro-service running state judgment method and device
  • Call chain data-based micro-service running state judgment method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] see figure 1 , figure 1 It is a schematic flowchart of the first method for judging the running state of a microservice based on the call chain data provided by the embodiment of the present application. In the embodiment of the present application, the execution subject that executes the following method for judging the running state of a microservice based on call chain data may be a server.

[0057] The method for judging the running status of microservices based on call chain data in the embodiment of the present application includes the following steps:

[0058] Step S110, acquiring initial data of the service call chain.

[0059] In this embodiment, a complete service system includes multiple microservice units, and each microservice unit calls each other to form a call chain.

[0060] The initial data of the call chain can include the number of operations, the number of errors, concurrent request traffic, average response time, and request failure rate.

[00...

Embodiment 2

[0097] In order to implement the method corresponding to the first embodiment above to achieve corresponding functions and technical effects, an apparatus for judging the running status of microservices based on call chain data is provided below.

[0098] see image 3 , image 3 It is a schematic diagram of the first structure of the apparatus for judging the running status of microservices based on call chain data provided by the embodiment of the present application.

[0099] The device for judging the running state of microservices based on call chain data in the embodiment of the present application includes:

[0100] An acquisition module 210, configured to acquire initial data of the service call chain;

[0101] The statistics module 220 is used for counting the indicator data of each microservice according to the current cycle according to the initial data of the service call chain;

[0102] The judging module 230 is configured to judge the running state of each micr...

Embodiment 3

[0123] An embodiment of the present application provides an electronic device, including a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the above-mentioned microservice based on call chain data The method of judging the running status.

[0124] Optionally, the above-mentioned electronic device may be a server.

[0125] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores the computer program used in the above-mentioned electronic device.

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 a call chain data-based micro-service running state judgment method and device. The call chain data-based micro-service running state judgment method comprises the following steps that: the initial data of a service call chain are obtained; on the basis of to the initial data of the service call chain, the index data of various micro-services are put into statistics according to the current period; and on the basis of to the index data of each micro-service and a preset judgment rule, the operation state of each micro-service is judged, so that the judgment result of theoperation state of each micro-service is obtained. According to the call chain data-based micro-service running state judgment method and device of the invention, the index data of each micro-serviceare put into statistics through the call chain data; the running state of each micro-service is judged; a micro-service with a problem is quickly and effectively positioned; and the cost of positioning the problem is reduced.

Description

technical field [0001] The present application relates to the technical field of microservices, in particular, to a method and device for judging the running status of microservices based on call chain data. Background technique [0002] In recent years, microservices have gradually emerged, and their design concepts have gradually gained popularity. More and more companies have begun to split the huge and bloated single architecture into multiple independent microservices to reduce the occurrence of systemic problems. probability. [0003] However, with the continuous increase of system functions, the dependencies between microservices become more and more complex. This situation increases the difficulty of locating the problem when the system fails, and the cost of locating the problem becomes higher. Contents of the invention [0004] The purpose of the embodiment of the present application is to provide a method and device for judging the running state of microservice...

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/34
CPCG06F11/3452G06F11/3476
Inventor 曹进辉贾卫林胡姣姣
Owner BEIJING MININGLAMP SOFTWARE SYST 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