Micro-service architecture monitoring method and device, computer equipment and readable storage medium

A technology of microservices and service nodes, applied in program control devices, computing, program control design, etc., can solve problems such as backlog of request messages, the inability of microservice architecture to handle core business, etc., to relieve computing pressure, reduce quantity, guarantee Effects of reliability and stability

Active Publication Date: 2020-10-09
CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF7 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a microservice architecture monitoring method, device, computer equipment and readable storage medium, which is used to solve the problem in the prior art that the microservice architecture cannot process core business due to the shutdown of the service node on the core link. , or due to the shutdown of the service node, there will be a backlog of request messages upstream and downstream of the service node; this application can be applied to smart government affairs scenarios, thereby promoting the construction of smart cities

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 architecture monitoring method and device, computer equipment and readable storage medium
  • Micro-service architecture monitoring method and device, computer equipment and readable storage medium
  • Micro-service architecture monitoring method and device, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] see figure 1 , a microservice architecture monitoring method in this embodiment, comprising:

[0041] S102: Obtain the running status of each service node under the microservice architecture, wherein the running status includes at least a query rate per second and an average response time;

[0042] S103: Compare the preset standard operating status with the operating status of each service node in turn, and determine whether each of the service nodes conforms to the standard operating status; The service node is set as a lag node;

[0043] S105: Obtain an invocation link that has the lag node and does not belong to the core link, and set the invocation link as a degraded link;

[0044] S106: Intercept the request message sent to the degraded link and return interception information.

[0045] In an exemplary embodiment, according to the preset monitoring time, the number of request messages received by each service node under the micro-service architecture is periodical...

Embodiment 2

[0053] This embodiment is a specific application scenario of the first embodiment above. Through this embodiment, the method provided by the present invention can be described more clearly and specifically.

[0054] In the following, the method provided by this embodiment will be specifically described by taking the monitoring and management of each service node under the microservice architecture in a server having a microservice architecture and running an information synchronization management method as an example. It should be noted that this embodiment is only exemplary, and does not limit the protection scope of the embodiment of the present invention.

[0055] figure 2 It is a specific method flowchart of a microservice architecture monitoring method provided by an embodiment of the present invention, and the method specifically includes steps S201 to S208.

[0056] S201: Set a record filter and a downgrade filter in each service node under the microservice architectu...

Embodiment 3

[0096] see image 3 , a microservice architecture monitoring device 1 of this embodiment, comprising:

[0097] The status calculation module 12 is used to obtain the running status of each service node under the microservice architecture, wherein the running status includes at least a query rate per second and an average response time;

[0098] The comparison and judgment module 13 is used to compare the preset standard operating state with the operating state of each service node in turn, and judge whether each of the service nodes conforms to the standard operating state; if not, it will not meet the standard operating state. The service node in the standard operating state is set as a hysteresis node;

[0099] A link degrading module 15, configured to acquire a call link that has the lag node and does not belong to the core link, and set the call link as a degraded link;

[0100] The request interception module 16 is configured to intercept the request message sent to 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 relates to a base frame operation and maintenance technology, and discloses a micro-service architecture monitoring method and device, computer equipment and a readable storage medium. The micro-service architecture monitoring method comprises the steps of: acquiring the operation state of each service node under a micro-service architecture; comparing a preset standard operation state with the operation state of each service node in sequence, and judging whether each service node meets the standard operation state or not; if not, setting the service nodes which do not conform tothe standard operation state as hysteresis nodes; acquiring a call link which has the hysteresis nodes and does not belong to a core link, and setting the call link as a degradation link; and intercepting a request message sent to the degradation link and returning intercepted information. The micro-service architecture monitoring method further relates to a blockchain technology, and informationcan be stored in blockchain nodes. According to the micro-service architecture monitoring method, the overall reliability and stability of the micro-service architecture are ensured, the influence ofthe interception request message on the micro-service architecture is reliably controlled, and the controllability of the operation and maintenance of the micro-service architecture is effectively improved.

Description

technical field [0001] The present invention relates to the technical field of pedestal operation and maintenance, and in particular to a microservice architecture monitoring method, device, computer equipment and readable storage medium. Background technique [0002] Microservice architecture is a new technology for deploying applications and services in the cloud. It aims to decouple the solution by decomposing functions into discrete services, that is, dismantling a large single application and service Divided into several or even dozens of supporting microservices, it can scale individual components rather than the entire application stack to meet service level agreements. [0003] The inventor of the present application found in the research that the current monitoring of the microservice architecture mainly includes basic service information (actuator), link monitoring (pinpoint, zipkin, cat, etc.), this monitoring method can only be used for microservice architecture ...

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): H04L12/26G06F9/455
CPCH04L43/08H04L43/50G06F9/45558G06F2009/45595
Inventor 朱欢敏
Owner CHINA PING AN PROPERTY INSURANCE 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