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

Log analysis-based micro-service performance optimization system and analysis method

An optimization method and microservice technology, applied in the field of data processing, can solve the problems of difficult call chain, cumbersome dynamic adjustment of microservice gateway routing strategy, different log implementation methods, etc., to achieve the effect of reducing the actual workload

Active Publication Date: 2019-05-14
CHENGDU SEFON SOFTWARE CO LTD
View PDF4 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

First of all, in a distributed system, because the technology stack of each system may be different, and the log implementation method may also be different, it is very difficult to view and analyze the overall call chain; secondly, when some nodes are found to have non-design performance bottlenecks , dynamically adjusting the routing strategy of the microservice gateway is also cumbersome

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
  • Log analysis-based micro-service performance optimization system and analysis method
  • Log analysis-based micro-service performance optimization system and analysis method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Refer to attached Figure 1-2 , the embodiments of the present invention will be described in detail.

[0030] A microservice performance optimization system based on log analysis, including: a first server, several other servers and a unified log analysis platform, the first server includes a first log collection agent module and a microservice gateway; the other servers include The second log collection agent module, microservice module A and microservice B, the unified log analysis platform includes a log storage engine, a log analysis engine and an analysis data management module connected in sequence; the microservice gateway and the unified log analysis platform connection, the first server and the unified log analysis platform are respectively connected to the other servers.

[0031] Further, the above-mentioned microservice gateway includes an API monitoring module and a policy update engine, and the policy update engine includes an intelligent routing module a...

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 discloses a micro-service performance optimization method based on log analysis. The micro-service performance optimization method comprises the following steps that a key interface of amicro-service module records an access log called by an interface through a log sdk; The log collection agent module collects performance monitoring information of the service system at regular intervals; The unified log analysis platform carries out extraction and analysis according to the access logs to obtain performance bottleneck points of the system; The micro-service gateway updates the routing strategy of the intelligent routing module at regular intervals through the performance indexes of the micro-service modules; Meanwhile, the API monitoring module extracts the external request number and the throughput through log analysis system processing, and then obtains the external current limiting weight of the microservice gateway according to the external request number, the throughput and the performance bottleneck point. According to the method, through automatic extraction and analysis of logs, a complete calling chain topology is generated, hidden performance doubtful pointsare found, performance bottleneck points of the system are quickly found out, and the actual workload of development and operation maintenance personnel can be effectively reduced.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a microservice performance optimization system and analysis method based on log analysis. Background technique [0002] With the maturity of cloud computing and a large number of open source lightweight technologies, a new architectural design style-microservice architecture has emerged. The microservice architecture is characterized by fine-grained service boundaries, which is conducive to independent development, testing, deployment, and expansion. However, as the service scale becomes larger and the service call chain becomes longer, performance issues will become more and more important. The intuitive performance of the service is the response time and throughput of the request. [0003] like figure 1 As shown, in a microservice system, one front-end request may correspond to multiple requests from multiple back-end systems, which is intricate. When a s...

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/24H04L12/26G06F11/34
Inventor 雷东东王怡君王双刘俊良
Owner CHENGDU SEFON SOFTWARE CO LTD
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