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

Log recording method and log recording system

A log and application system technology, which is applied in the field of log records and log records, can solve the problems of restricting the business processing throughput of the application system, the great impact of business processing efficiency, and the performance bottleneck of the application system, so as to eliminate performance bottlenecks and improve Throughput, the effect of reducing resource consumption

Active Publication Date: 2013-06-26
ADVANCED NEW TECH CO LTD
View PDF6 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be understood that log records require disk operations and file read and write operations, while application system business processing is performed in memory, because disk operations are slower than memory operations, and the performance of using disks is lower than that of using memory (usually memory read Writing is more than 10 times faster than disk reading and writing), so logging is slower than business processing
However, in the application system, the amount of business processing is directly proportional to the log records, so the efficiency of business processing will be greatly affected by the log records
Especially in the case of high concurrency and busy system, the real-time recording of logs on the local disk of the application server will be the performance bottleneck of the application system, which will not only consume the resources of the server, but also restrict the throughput of the application system's business processing

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 recording method and log recording system
  • Log recording method and log recording system
  • Log recording method and log recording system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0052] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a logging method of the present application, which may specifically include the following steps:

[0053] Step 101, generating a log;

[0054] When the business processing module of the application system needs to record logs, for example, when a page access request or service call request arrives, a corresponding log is generated.

[0055] In practice, the log can record all the behaviors generated by the system and express them according to a certain specification. We can use the information recorded by the log system to troubleshoot the system, optimize the performance of the system, or adjust the behavior of the sys...

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 provides a log recording method and a log recording system. The log recording method includes the steps of generating a log, detecting a current loading state of an application system, enabling the log to be written into a preset cache if the current loading state reaches a first preset threshold value, and enabling the log in the cache to be written into a local hard disk of the application system when the loading state of the application system meets a preset condition. Therefore, the log recording method and the log recording system can eliminate performance bottleneck caused by log recording in the application system, save resources of a server, and improve handling capacity of service processing of the application system.

Description

technical field [0001] The present application relates to the technical field of system log processing, in particular to a log recording method and a log recording system. Background technique [0002] In an application system, the log is a very important functional component. At present, the application system generally uses the disk log as an incidental function of the application system. Logs can be used to record all behaviors generated by the application system, including business operation behaviors and the behavior of the system framework itself, and express them according to certain specifications. With these records, relevant technical personnel can perform system-level or business-level troubleshooting, as well as system performance optimization. [0003] A common log recording method is to record the log on the local disk of the application server in real time, and relevant technicians log in to the application server to view the log. It can be understood that l...

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
IPC IPC(8): G06F11/34
Inventor 刘冬东
Owner ADVANCED NEW TECH 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