Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for acquiring server performance data

A server-side and performance technology, applied in the fields of electrical digital data processing, instruments, hardware monitoring, etc., can solve the problems of inaccurate data, inability to monitor online environmental service performance in real time, and lack of good technical plans and technical support.

Inactive Publication Date: 2019-10-22
挖财网络技术有限公司
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Performance testing is generally carried out in a functional testing environment or a performance testing environment, but there are great differences between these two environments and the actual online environment in terms of hardware configuration, business scenarios, and traffic distribution. That is to say, in the actual testing environment It is impossible to simulate the real scene, so the obtained performance index can only be used as a reference, and the data may not be accurate
[0006] 2. After the relevant applications are launched, the performance of online environmental services cannot be monitored in real time
This method involves a large number of changes, without a good technical plan and technical support, it is prone to great risks
[0009] 2. Traffic marking: For the data of performance testing, it does not depend on the real data of production. The data created by performance testing needs to be marked with specific markings. The system automatically recognizes the data and performs related processing during processing. This method is not good. It is easy to cause confusion in the online environment data, and the risk is relatively high

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
  • Method and device for acquiring server performance data
  • Method and device for acquiring server performance data
  • Method and device for acquiring server performance data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The preferred embodiments of this patent will be described in further detail below in conjunction with the accompanying drawings.

[0041] The log on the server side is automatically recorded when the service is called. This information may come from Nginx, Tomcat, or the service itself. Faced with these massive log information, how to extract effective information from them is the core point of this solution. The log will contain access time, access source, requested address, request parameters, return value, status and other information. The performance index data to be obtained can be managed through configuration files or database configuration. The generated log files need to be cut according to certain rules, to ensure that each file has the same size, and to be named according to certain rules, so that the core program can read these logs for analysis, and aggregate the analysis results into database for storage.

[0042] Such as figure 1 and figure 2 Shown ...

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 method and a device for acquiring server performance data. The method comprises the following steps: S1, acquiring a service log of an online service system; S2, segmentingthe service log according to a rule to obtain a plurality of service log fragments; S3, analyzing the intercepted service log fragments, extracting key data, and establishing a data model to calculateperformance indexes; and S4, exporting the performance indexes to a database. The device comprises a log acquisition module, a log segmentation module, a performance index acquisition module and a result output module. According to the invention, real-time cutting is carried out on massive log logs of an online server; service performance data under different online service scenes, different timeperiods and different flows can be obtained in a dynamic mode in real time in a big data analysis mode, and important data support can be provided for business development of companies by summarizingand analyzing the data.

Description

technical field [0001] The invention relates to the field of performance testing, and in particular to a method and a device for performing big data analysis on the basis of massive server logs to obtain server performance data. Background technique [0002] With the rapid development of the mobile Internet, the number of people using the Internet has shown explosive growth. The competition in all walks of life is also becoming more intense. The competition of enterprises is not only reflected in business, but also in the application experience provided by enterprises to the outside world. When using an application, the most intuitive feeling of user experience is whether the application is smooth during use, and the fluency mostly reflects the performance of the application's back-end software services. Before the application is released to users, relevant performance will be carried out within the company to ensure that the application can carry the current business volum...

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/3447G06F11/3476
Inventor 高明国
Owner 挖财网络技术有限公司