US 12,217,094 B1
Method of resource adjustment for service cluster, electronic device and storage medium
Yifan Zhang, Beijing (CN); Zhanghao Chen, Beijing (CN); Meng Wang, Beijing (CN); Guanghui Zhang, Beijing (CN); Yong Fang, Beijing (CN); Rui Shi, Beijing (CN); Tianbai Ma, Singapore (SG); and Yancan Mao, Singapore (SG)
Assigned to Beijing Volcano Engine Technology Co., Ltd., Beijing (CN); and National University of Singapore, Singapore (SG)
Filed by National University of Singapore, Singapore (SG); and Beijing Volcano Engine Technology Co., Ltd., Beijing (CN)
Filed on Jun. 20, 2024, as Appl. No. 18/749,020.
Claims priority of application No. 202310956835.3 (CN), filed on Jul. 31, 2023.
Int. Cl. G06F 9/46 (2006.01); G06F 9/50 (2006.01)
CPC G06F 9/5038 (2013.01) [G06F 9/5083 (2013.01)] 20 Claims
OG exemplary drawing
 
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.