A distributed task
scheduling system based on RabbitMQ, Redis and MongoDB. The task
scheduling system comprises a task
system service, Redis, MongoDB, RabbitMQ and an SDK, wherein the task
system service comprises a data and
object storage management module, a
message queue management module, a
task management module, a timing task module and a
workflow module. By means of the design of a task
system service, Redis, MongoDB, RabbitMQ and an SDK, the functions of an asynchronous task, a timing task and a
workflow in a distributed and micro-service environment are provided. By means of the technical solution of a
message queue, trigger-based scheduling of a task is realized, and a reliable and unique task scheduling capability exists; moreover, a timing task trigger capability exists, and thus the present invention is suitable for a
scenario in which the execution of a certain task is triggered in a timing or delayed manner; a
workflow capability is provided, and thus serial and parallel execution of a plurality of tasks can be performed; and capabilities such as task
rollback and interruption are provided, and thus a system which unifies the asynchronous task, the timing task and the workflow is achieved.