首页 / 资料库 / 文献详情

Load Balancing Using P4 in Software-Defined Networks

Chih‐Heng KeShih-Jung Hsu

2020網際網路技術學刊Computer Science被引 6

出版方页面 →

摘要

Conventional software-defined networks (SDNs) use a controller to write static rules into SDN switches through OpenFlow protocol. But legacy SDN switches cannot remember the data flow processing status. When the controller fails and cannot connect with the switch, the load balance function is affected. Conventional load balancer (LB), such as Linux Virtual Server and HAProxy, must perform layer-by-layer decapsulation, retrieve the information required to execute load balancing algorithms, and add the headers back before transmitting a packet. This process is time intensive. Therefore, we use P4 language to implement the LB, analyzes the packet headers, and uses stateful objects to record data flow information. The P4 LB can process packets according to predefined rules and operating status without operations such as encapsulation or decapsulation. Based on the aforementioned characteristics, we present four packet scheduling schemes, connection hash, random, round-robin, and weighted round-robin. Therefore, this P4 LB can independently function, without a controller. However, when a controller is available, the controller can be used to monitor the health of web servers. In this case, the controller can detect a server fault and inform the P4 LB to block the request to the malfunctioning server to decrease the dispatching failure rate.

引用本文(GB/T 7714)

Chih‐Heng Ke, Shih-Jung Hsu. Load Balancing Using P4 in Software-Defined Networks[J]. 網際網路技術學刊, 2020.

引文网络

参考文献与被引分析加载中…

本站仅收录题录与摘要供学习参考,全文版权归属出版方;如有侵权请联系我们删除。