Unlock instant, AI-driven research and patent intelligence for your innovation.

A method, system, device and storage medium for optimizing timing tasks

A technology for timing tasks and tasks, which is applied in the input/output process of data processing, instruments, input/output to record carriers, etc., and can solve problems such as automatic processing and recovery of faults, weak fault processing capabilities, and easy occurrence of large delays. , to achieve the effect of breaking through the concurrency limit, easy configuration and dynamic setting, and improving concurrent performance

Active Publication Date: 2022-03-22
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the amount of data in a single table of the database is huge, it will take a long time even to scan all pending scheduled tasks from the data table
[0005] (3) In the case of node failure scenarios in distributed large-scale clusters, the process has a weak ability to deal with failures and cannot automatically handle and recover failures from the inside. It needs to use external scripts to start a new process to handle failure scenarios separately. The fault tolerance is poor, and failures The processing capacity is weak, and it is prone to large delays under the fault of a large amount of tasks to be processed

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
  • A method, system, device and storage medium for optimizing timing tasks
  • A method, system, device and storage medium for optimizing timing tasks
  • A method, system, device and storage medium for optimizing timing tasks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0028] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0029] In the first aspect of the embodiments of the present invention, an embodiment of a method for optimizing a scheduled task is proposed. figure 1 What is shown is a schematic diagram of an embodiment of the method for optimizing a timed task p...

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 present invention provides a method, system, device and storage medium for optimizing timing tasks. The method includes: starting multiple working threads to monitor and consume timing task messages, and binding the working threads to corresponding message queue index subscripts set; pull the timing task message corresponding to the subscript of the message queue index from the task cache queue, move the timing task message to the preprocessing cache queue, and send the timing task message to the service end according to the event identifier; in response After the business end receives the scheduled task message and consumes it successfully, the business end sends a transaction submission instruction; and in response to the successful transaction submission, deletes the scheduled task message from the preprocessing cache queue. The invention reduces the load pressure of the main storage node, reduces the system processing time delay, and improves the concurrency performance.

Description

technical field [0001] The present invention relates to the field of distributed storage systems, and more specifically, to a method, system, device and storage medium for optimizing timing tasks. Background technique [0002] With the large-scale popularization and application of digitalization, the distributed storage system as the underlying support has sprung up like mushrooms, and scheduled tasks and related optimization have become an important part of the complete life cycle of storage products. Generally, the timing task processing mostly adopts the following processing flow: the timing task is persistently stored in the timing task database; the timer is used in the process body to scan the database regularly, and after finding the task to be processed, the timing task is placed in the memory queue of the node and waits for Hand it over to the specific business processing module for consumption processing, and update the task status after the business processing mod...

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): G06F3/06
CPCG06F3/0611G06F3/0619G06F3/0652G06F3/0659G06F3/067
Inventor 段萌
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD