TASK SCHEDULING METHOD AND APPARATUS, COMPUTER DEVICE, AND COMPUTER READABLE MEDIUM
A task scheduling method and apparatus, a computer device, and a computer readable medium, configured such that, on the basis of the minimum resource requirement unit of a task in a task queue and the total amount of resources and resource usage condition reported by each execution node in a cluster...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A task scheduling method and apparatus, a computer device, and a computer readable medium, configured such that, on the basis of the minimum resource requirement unit of a task in a task queue and the total amount of resources and resource usage condition reported by each execution node in a cluster, a first scheduling apparatus of a main scheduling apparatus determines an execution node in the cluster to perform the task (S11); extracting the task from the task queue and distributing same to the determined execution node (S12), and thereby starting the task, the tasks in the task queue satisfying a corresponding task starting condition. In the present method, tasks are only scheduled when the task starting condition is satisfied, and scheduling is implemented on the basis of the total resource amount and the resource usage condition of each execution node; thus, load balancing between the execution nodes can be implemented, and the execution nodes to which tasks are distributed are nodes currently working no |
---|