Pooling-based log storage method and device, computer equipment and storage medium

A storage device and log technology, which is applied in the field of data processing and can solve problems such as inability to respond to requests normally, system suspension, and impact on system performance.

Pending Publication Date: 2020-05-01
SHENZHEN QIANHAI HUANRONG LIANYI INFORMATION TECH SERVICES CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a log storage method, device, computer equipment, and storage medium based on pooling, aiming to solve the problem that the object used to encapsulate log data in the memory becomes memory garbage and is recycled by the JVM, causing the system to stop and fail to work normally. Respond to requests in a timely manner, affecting the performance of the entire system

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
  • Pooling-based log storage method and device, computer equipment and storage medium
  • Pooling-based log storage method and device, computer equipment and storage medium
  • Pooling-based log storage method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0023] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0024] It should also be understood that the terminology 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
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a pooling-based log storage method and device, computer equipment and a storage medium. The method comprises the steps that if a log storage request is received, judging whether a memory meets a first preset storage condition or not wherein a log comprises data length and log data; if the memory meets a first preset storage condition, judging whether a storage area in a preset memory pool meets a second preset storage condition or not wherein the memory pool comprises a plurality of storage areas; if a storage area in a preset memory pool meets a second preset storage condition, obtaining the storage area meeting the second preset storage condition from the memory pool, and writing the log data into the storage area meeting the second preset storage condition; if the memory does not meet the first preset storage condition, writing a full-load storage area in a preset memory pool into a database; and emptying the full-load storage area and recovering the full-load storage area into the memory pool.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a log storage method, device, computer equipment and storage medium based on pooling. Background technique [0002] In the existing task scheduling system developed based on Java, the task execution log management is an important module, and the task scheduling system generally consists of the following modules: a scheduling module, used to schedule tasks and issue tasks; an execution module, mainly used for Execute tasks; the management module is used to provide a visual interface for users to use; the log module is used to collect task logs and provide logs for users to view. [0003] The log module is responsible for log management, including log collection, storage, and service log interface. The existing log collection method is as follows: tasks will run on each executor, and the executor will periodically send log data to the log On the collection service,...

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): G06F16/172G06F16/18G06F11/30
CPCG06F16/172G06F16/1815G06F11/3065
Inventor 孙朝和申志彬李如先
Owner SHENZHEN QIANHAI HUANRONG LIANYI INFORMATION TECH SERVICES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products