CPC G06F 9/5038 (2013.01) [G06F 9/5083 (2013.01)] | 20 Claims |
1. A method of resource adjustment for a service cluster, comprising:
determining resource adjustment information for the service cluster according to a task quantity of streaming data processing tasks to be processed, wherein the resource adjustment information comprises a resource adjustment operation that is required to be executed for processing the streaming data processing tasks and a corresponding parallelism degree to be adjusted, and the parallelism degree to be adjusted is used to indicate a resource quantity that is required to be adjusted by the service cluster;
determining a core quantity to be adjusted corresponding to central processor units and a second quantity of computing nodes to be adjusted, according to the parallelism degree to be adjusted, a first quantity of the computing nodes that have been created in the service cluster, and a resource utilization rate of central processor units in each computing node that has been created; and
executing the resource adjustment operation according to the core quantity to be adjusted and the second quantity, and obtaining a service cluster subject to resource adjusting, wherein the service cluster subject to resource adjusting is used to process streaming data processing tasks under the task quantity.
|