User-Specific Log Record Switch for Server Performance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High-performance servers face performance degradation and potential system breakdown when a large number of users connect simultaneously, due to the need for detailed log recording for specific users, which results in the generation of a large amount of invalid logs affecting overall system performance.

Innovation Solution

A log processing method and client that control the log record switch of users based on a log processing instruction, allowing for detailed log recording for specified users by toggling the log record switch between 'on' and 'off' states, preventing unnecessary log recording and maintaining system performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If detailed log recording is enabled for a large number of users simultaneously, then comprehensive system monitoring and debugging capability is improved, but overall system performance deteriorates and system stability worsens

Engineering Contradiction:
Improvelog recording detailVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent implements user-specific log recording by assigning individual log record switches to different users. This allows the system to apply different log recording qualities to different users - specified users get detailed logging while other users have logging disabled, thus resolving the contradiction between comprehensive monitoring and system performance.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent segments the log recording function by user, creating independent log record switches for each user. This segmentation allows the system to selectively enable detailed logging for specific users while keeping it disabled for others, preventing the performance degradation that would occur if all users had detailed logging enabled simultaneously.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If log level is regulated to record detailed events for specified users, then debugging capability for those users is improved, but system performance deteriorates due to recording logs of many unspecified users

Engineering Contradiction:
Improvedebugging capabilityVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies different log recording qualities to different users through individual log record switches. Specified users have their log record switches enabled for detailed debugging, while unspecified users have their switches disabled, thus achieving improved debugging capability for target users without the performance penalty of recording all users' logs.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent extracts the log recording function from a global setting and makes it user-specific through individual log record switches. This extraction allows detailed logging to be taken out and applied only to specified users who need debugging capability, rather than recording logs for all users which would degrade system performance.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If log record switch is enabled for multiple users, then comprehensive monitoring is improved, but system stability deteriorates in severe cases

Engineering Contradiction:
Improvemonitoring coverageVSAvoidsystem stability
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

The patent implements user-specific log record switches that enable comprehensive monitoring for specified users while maintaining system stability. By applying monitoring locally to only those users who need it rather than enabling it for all users, the system avoids the instability that would occur under heavy load with universal monitoring enabled.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent applies partial action by enabling log recording for only the necessary subset of users rather than all users. This partial enabling of the log record switch provides sufficient monitoring coverage for debugging while avoiding the excessive action that would cause system instability under severe load conditions.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10142170B2Log processing method and client
Publication Date: 2018.11.27 BEIJING QIHOOD TECHNOLOGY CO LTD
  • US10142170B2 patent drawing
  • US10142170B2 patent drawing
  • US10142170B2 patent drawing

AI summary

The present disclosure discloses a log processing method and client, the method includes: acquiring a log processing instruction, the log processing instruction including a user's identifier; controlling an operating state of a log record switch of the user corresponding to the user's identifier according to the log processing instruction, the operation state of the log record switch including an on state and an off state; when the operating state of the log record switch of the user is the on state, recording a log of the user; when the operating state of the log record switch of the user is the off state, not recording a log of the user. This avoids the overall performance of the system from being affected due to the logs of a large number of users who are being recorded by the server.