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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com