-
公开(公告)号:US20220318071A1
公开(公告)日:2022-10-06
申请号:US17843754
申请日:2022-06-17
Applicant: Huawei Technologies Co., Ltd.
Inventor: Guocheng ZHONG , Xinhai XU , Baochuan CHENG , Yunlong WANG
Abstract: A load balancing method and a related device is provided. The method includes: determining topology information of each of a plurality of smallest management units pods in a load balancing cluster to which a first node belongs, where the plurality of pods are distributed on at least two nodes; determining a weight of each of the plurality of pods based on the topology information of each pod; and selecting a target pod from the plurality of pods based on the weight of each pod, where the target pod is configured to process a currently to-be-processed task in the first node. In embodiments of this application, network overheads can be reduced when a task request is allocated.