Task scheduling method and device, electronic equipment and storage medium
A task scheduling and task technology, applied in the direction of multi-channel program device, program control design, electronic digital data processing, etc., can solve the problems of lack of database local transaction integration, can not fully satisfy the message queue, etc., to achieve convenient business diagnosis, reliable forwarding , the effect of improving efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2022-05-17
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present disclosure generally relates to the technical field of task scheduling, and specifically relates to a task scheduling method, device, electronic equipment, and storage medium. Background technique
[0002] In some task scheduling application scenarios, there are many tasks that allow asynchronous execution. If these tasks are scheduled, a unified framework is required for scheduling, retrying, and monitoring of task execution failures. Existing task scheduling frameworks include message-based Sidekiq, a task scheduling framework for the subscription model, integrates with rails applications and implements scheduling based on the redis message subscription model. It can clean up failed tasks, check task execution exceptions, and monitor task execution and calls.
[0003] The existing sidekiq task scheduling framework is only based on redis to implement task scheduling. In more scenarios, it lacks integration with local database transactions....
Examples
Embodiment Construction
[0049] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.
[0050] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
[0051] Please refer to figure 1 , which shows an exemplary flow of the method for task scheduling that can be applied in the embodiment of the present application.
[0052] Such as figure 1 As shown, in step 110, the task list is scheduled from the database, and the tasks in the task list are de...