Task scheduling
AssigneeBeijing OceanBase Technology Co., Ltd.
InventorsHaosheng HU, Jingkun FENG
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing OceanBase Technology Co., Ltd.
InventorsHaosheng HU, Jingkun FENG
Estimating the term…
One or more implementations of the present specification provide a task scheduling method and apparatus, and relate to the field of computer technologies. The method includes: determining a target task queue from a plurality of pre-constructed task queues, the plurality of pre-constructed task queues being used respectively to store tasks with different priorities, each task queue having a respective scheduling weight, and the scheduling weight being used to control a probability that the task queue is determined as the target task queue; and scheduling a target task in the target task queue to a specified thread in a thread pool, to execute the target task. In the implementations of the present specification, execution of tasks with different priorities can be properly coordinated, thereby avoiding resource contention among the tasks with different priorities in a task scheduling process.
A task scheduling method, comprising:
An electronic device, comprising:
A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by one or more processors, the computer instructions enable the one or more processors to, individually or collectively, implement acts comprising:
Dependencies are inferred from the claim text.