閱讀全文 | |
篇名 |
Load Balancing Using P4 in Software-Defined Networks
|
---|---|
並列篇名 | Load Balancing Using P4 in Software-Defined Networks |
作者 | Chih-Heng Ke、Shih-Jung Hsu |
英文摘要 | 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. |
起訖頁 | 1671-1679 |
關鍵詞 | P4 switch、Software defined network、Load balancer |
刊名 | 網際網路技術學刊 |
期數 | 202011 (21:6期) |
出版單位 | 台灣學術網路管理委員會 |
DOI |
|
QR Code | |
該期刊 上一篇
| Multi-client Authenticated Intersection Protocol from a Negative Database Server |
該期刊 下一篇
| Blockchain Based Data Storage Mechanism in Cyber Physical System |