A log processing method and system
A technology for processing systems and processing methods, which is applied in the field of log processing methods and systems, can solve problems such as complex implementation, achieve the effects of reducing packet loss rate, improving log processing efficiency, and simplifying log processing procedures
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] The preset ratio threshold of the cache queue is 75%, and the number of currently started containers for processing logs is 3, and the containers use the active pull method to pull logs from the cache queue for processing.
[0038] The control module periodically (fixed period or non-fixed period) monitors the cache ratio of the cache queue. Taking the non-fixed period (for example, gradually shortening the monitoring period with the increase of the cache ratio) as an example, when the cache ratio of the cache queue is detected to be greater than 75% for the first time, it is used as the starting time point of this statistics, for example, as shown in Table 1 As shown, when the buffer ratio 78% greater than 75% is detected for the first time, it is recorded as the starting time point (0th second) of this statistics; if the monitoring period at this time is 5 seconds, the next statistical time point is At the 5th second from the starting time point, the cache ratio at th...
Embodiment 2
[0043] The preset ratio threshold of the cache queue is 75%, and the number of currently started containers for processing logs is 3, and the containers use the active pull method to pull logs from the cache queue for processing.
[0044] The control module periodically monitors the cache ratio of the cache queue. Taking a fixed period (for example, the monitoring period is 5 seconds) as an example, when the cache ratio of the cache queue is greater than 75%, the number of times the cache ratio is continuously greater than 75% is counted, as shown in Table 2.
[0045] cache ratio Number of statistics 78% 1 85% 2 80% 3 78% 4 82% 5 86% 6
[0046] Table 2
[0047] If the preset number of times threshold is 5 times, the current statistical number of times (6 times) is greater than the number of times threshold (5 times), and the cache ratio of the cache queue is always in a high state, and there is a risk of packet loss. Therefore, th...
Embodiment 3
[0049] The number of containers currently started for processing logs is 3, and the containers use the active pull method to pull logs from the cache queue for processing.
[0050] The control module periodically monitors the cache ratio of the cache queue. Taking the non-fixed cycle as an example, count the duration of the continuous increase of the cache ratio, as shown in Table 3. A certain monitoring time point is used as the starting time point of this statistics, for example, as shown in Table 3, the time point at which the buffer ratio is 50% is monitored as the starting time point of this statistics, and is recorded as the 0th second; if The monitoring period at this time is 5 seconds, then the next statistical time point is the 5th second from the starting time point, and the cache ratio at the 5th second of monitoring is 52%, which is greater than the previous statistical time point (0th second) Therefore, the current statistical cache ratio continues to increase fo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



