Task scheduling method and device, computer equipment and computer readable medium
The invention provides a task scheduling method. The method comprises the steps: enabling a first scheduling device configured as a main scheduling device to determine an execution node for executing a task in a cluster according to the minimum resource demand unit of the task in a task queue and th...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a task scheduling method. The method comprises the steps: enabling a first scheduling device configured as a main scheduling device to determine an execution node for executing a task in a cluster according to the minimum resource demand unit of the task in a task queue and the total resource amount and resource use conditions reported by all execution nodes in the cluster, and taking out the task from the task queue and distributing the task to the determined execution node so as to start the task, the task in the task queue satisfying a corresponding task starting condition. The task is scheduled only when the task starting condition is met, scheduling is carried out according to the total resource amount and the resource use condition of each execution node, load balance among the execution nodes can be achieved, the execution nodes allocated to the task are all nodes working normally at present, the single-point fault problem is prevented, and system reliability is improved. The inv |
---|