Supercharge Your Innovation With Domain-Expert AI Agents!

Log server and its management method

A server and application server technology, applied in the field of log management services, can solve the problems of large message headers, inability to implement a distributed processing system, low scalability, etc., and achieve the effect of high throughput

Active Publication Date: 2021-10-01
深圳市元宇宙科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. The log file is deleted immediately after being consumed, which requires frequent operations on the disk, which increases the IO overhead of the disk;
[0004] 2. Unable to persist messages to disk;
[0005] 3. The centralized log processing system is not easy to expand outward;
[0006] 4. Does not support multiple subscribers, and cannot automatically balance consumers when consumption fails;
[0007] 5. The message header required by the JMS system is large, coupled with the overhead of maintaining various index structures, resulting in 144 bytes for each message of ActiveMQ
[0008] 6. When multiple ports of the client access one port at the same time, there will be concurrent conflicts
However, it cannot implement a distributed processing system, and the scalability is not 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
  • Log server and its management method
  • Log server and its management method
  • Log server and its management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] The purpose of the present invention is to transmit the log generated by the web server to the log server in real time, and classify and store the log according to the server tomcat port, date and file, so that developers can check the log.

[0032] figure 1 It is a system architecture diagram of a log server in this embodiment, which includes a kafka message subscription publishing module and a conversion system. The message subscription publishing module receives, stores, and manages the first log file from the application server. The conversion system is used as a consumer group of Kafka to convert the first log file stored in the message subscription publishing module into the second log file.

[0033] The communication relationship between the application server as a producer and the kafka message subscription publishing module is as follows: figure 2 . There is tomcat1 (T1) on web server A, here we call it A-T1 for short; there is tomcat2 (T2) on web server 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 relates to the field of log management services, in particular to a log server and a management method thereof. The log server of the present invention includes a message subscription and release module and a conversion system, the message subscription and release module receives, stores, and manages the first log file from the application server, and the conversion system stores the first log file in the message subscription and release module. The log file is converted into a second log file; the message subscription publishing module includes a session queue corresponding to the application server; the session queue includes a session area corresponding to the first log file of the application server. It is designed as a distributed system that is easy to scale out; it provides high throughput for both publish and subscribe; it supports multiple subscribers and can automatically balance consumers when it fails; it persists messages to disk, so it can be used for Batch consumption, such as ETL, and real-time applications.

Description

technical field [0001] The invention relates to the technical field of log management services, in particular to a log server and a management method thereof. Background technique [0002] In products related to communication and computer information processing, logs recorded during system operation play an important role in user system failures, early detection of warnings, and tracking of key operations. The log management system implemented based on activeMQ in the prior art is implemented based on JMS (Java Message Service). Control the log generation process through Log4j to control the destination of log information transmission, the output format of each log, and further write the log information of the server into the queue. The log management system may manage log messages generated by multiple application servers. For example, there are two web servers, and each server has four tomcats, which are output to tomcat through Log4j. When the log output to tomcat is to...

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 Patents(China)
IPC IPC(8): G06F11/30G06F16/18G06F16/172G06F16/17
CPCG06F11/3006G06F16/172G06F16/1737G06F16/1815
Inventor 接凤华
Owner 深圳市元宇宙科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More