US 11,902,362 B2
Topology-aware load balancing method and apparatus, and computer device
Fengqi Li, Shandong (CN)
Assigned to INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/271,456
Filed by INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Sep. 29, 2021, PCT No. PCT/CN2021/121912
§ 371(c)(1), (2) Date Jul. 9, 2023,
PCT Pub. No. WO2023/279555, PCT Pub. Date Jan. 12, 2023.
Claims priority of application No. 202110771506.2 (CN), filed on Jul. 8, 2021.
Prior Publication US 2023/0412674 A1, Dec. 21, 2023
Int. Cl. H04L 29/08 (2006.01); H04L 67/101 (2022.01); H04L 41/12 (2022.01); H04L 47/125 (2022.01)
CPC H04L 67/101 (2013.01) [H04L 41/12 (2013.01); H04L 47/125 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A topology-aware load balancing method, comprising:
acquiring load balancing configuration information issued by a user, and determining, based on the configuration information, whether a plurality of backend service endpoints for load balancing are located on different nodes;
in response to determining that the plurality of backend service endpoints for load balancing are located on different nodes, for each of the different nodes, regularly issuing a command for polling the backend service endpoints on the respective node, and acquiring topology information of the different nodes, as well as health statuses and a link quality of the plurality of backend service endpoints;
calculating priorities of the plurality of backend service endpoints based on the topology information, the health statuses and the link quality, and configuring a service response endpoint for load balancing based on the priorities; and
in response to at least one of the topology information, the health statuses and the link quality being changed, recalculating priorities of the plurality of backend service endpoints, and adjusting the service response endpoint based on the priorities.