-
公开(公告)号:US10783005B2
公开(公告)日:2020-09-22
申请号:US16024539
申请日:2018-06-29
Applicant: Alibaba Group Holding Limited
Inventor: Xiaojian Fang , Jian Liu , Yi Wang , Chong Wu , Zhongyan Feng
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.
-
公开(公告)号:US20180307536A1
公开(公告)日:2018-10-25
申请号:US16024539
申请日:2018-06-29
Applicant: Alibaba Group Holding Limited
Inventor: Xiaojian Fang , Jian Liu , Yi Wang , Chong Wu , Zhongyan Feng
IPC: G06F9/50
CPC classification number: G06F9/505 , G06F9/5083
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.
-