Alibaba Group Holding Limited
Component logical threads quantity adjustment method and device

Last updated:

Abstract:

A method for adjusting a number of logical threads for a component including acquiring a plurality of logical threads that is callable by a component; determining a load state of each logical thread according to a utilization rate of a data processing queue corresponding to each logical thread, the load state including a normal load state and an abnormal load state; determining, according to the load states of the logical threads of the component, whether the number of logical threads of the component needs to be adjusted; and adjusting the number of logical threads of the component according to the determination result if the number of logical threads of the component needs to be adjusted. By using the method and the apparatus, the utilization rate of resources is improved while ensuring real-time calculation of data.

Status:
Grant
Type:

Utility

Filling date:

29 Jun 2018

Issue date:

22 Sep 2020