| CPC G06F 9/4887 (2013.01) [G06F 9/4843 (2013.01); G06F 9/4881 (2013.01); G06F 9/505 (2013.01); G06F 9/5083 (2013.01); G06F 9/546 (2013.01); H04L 41/5051 (2013.01); H04L 67/1008 (2013.01); H04L 67/1029 (2013.01); G06F 9/4812 (2013.01); G06F 9/5072 (2013.01); G06F 2209/5011 (2013.01); H04L 67/1014 (2013.01)] | 17 Claims |

|
1. A cloud computing resource scheduling method, performed by a resource scheduling apparatus comprising a processor and a memory, the method comprising:
obtaining a first scheduling request message;
determining a first resource server from a resource pool based on a first quantity of resources requested by the first scheduling request message;
scheduling the first quantity of resources in the first resource server, wherein the resource pool comprises at least one resource server, and the first scheduling request message is used to request a resource for a first-type task, wherein the first-type task is a service level agreement (SLA) sensitive task;
obtaining a second scheduling request message;
placing the second scheduling request message in a waiting queue, wherein the waiting queue comprises a scheduling request message of at least one second-type task, wherein the second-type task is a service level agreement (SLA) insensitive task;
determining, based on a resource load rate of the resource pool, to schedule a resource for a task corresponding to the second scheduling request message, the resource load rate indicating a resource utilization rate of the resource pool;
determining a second resource server from the resource pool based on a second quantity of resources requested by the second scheduling request message; and
scheduling a third quantity of resources in the second resource server, wherein the third quantity of resources is less than the second quantity of resources, wherein the second scheduling request message is used to request a resource for a second-type task, and wherein the second-type task is executed by the second resource server with the third quantity of resources,
wherein the determining, based on the resource load rate of the resource pool, to schedule the resource for the task corresponding to the second scheduling request message comprises:
determining that the resource load rate of the resource pool is less than a first threshold, and the task corresponding to the second scheduling request message is a task that is in the waiting queue and that requests a minimum quantity of resources among tasks corresponding to second scheduling request messages in the waiting queue.
|