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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap