A Novel Least Connection-First Stateful Load Balancer for TCP Traffic

This paper presents the Least Connection-First algorithm, commonly employed in TCP, as a load balancing mechanism implemented within a P4 switch. While previous work in SilkRoad demonstrated the feasibility of P4 switches for cost-effective, high-speed Layer-4 stateful load balancing using hash-based algorithms, these approaches assumed uniform server workloads, making them susceptible to hash collisions and potential connection initiation failures. In contrast, our research leverages the inherent characteristics of TCP connections – specifically, the correlation between request frequency and connection duration – to enhance load balancing performance. By leveraging the P4 switch’s ability to identify SYN and FIN packets in the data plane, our approach enables the forwarding of these control packets to a central controller. The controller then dynamically assigns incoming connections to servers with the fewest active connections. We conduct our experiment on a P4 hardware switch for performance validation. Experimental results demonstrate that our proposed method exhibits superior performance compared to traditional hash-based and query-based Least Connection-First schemes.

Authors

Institutions

Publication Details

Published
2025-05-20
DOI
https://doi.org/10.1109/hpsr64165.2025.11038899
Primary Topic
Software-Defined Networks and 5G
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Novel Least Connection-First Stateful Load Balancer for TCP Traffic

Cheng-Hung He, C.S. Chen, Jyh‐Cheng Chen, T.-Y. Hung
Software-Defined Networks and 5G
article

A Novel Least Connection-First Stateful Load Balancer for TCP Traffic

Cheng-Hung He, C.S. Chen, Jyh‐Cheng Chen, T.-Y. Hung
article en

Abstract

This paper presents the Least Connection-First algorithm, commonly employed in TCP, as a load balancing mechanism implemented within a P4 switch. While previous work in SilkRoad demonstrated the feasibility of P4 switches for cost-effective, high-speed Layer-4 stateful load balancing using hash-based algorithms, these approaches assumed uniform server workloads, making them susceptible to hash collisions and potential connection initiation failures. In contrast, our research leverages the inherent characteristics of TCP connections – specifically, the correlation between request frequency and connection duration – to enhance load balancing performance. By leveraging the P4 switch’s ability to identify SYN and FIN packets in the data plane, our approach enables the forwarding of these control packets to a central controller. The controller then dynamically assigns incoming connections to servers with the fewest active connections. We conduct our experiment on a P4 hardware switch for performance validation. Experimental results demonstrate that our proposed method exhibits superior performance compared to traditional hash-based and query-based Least Connection-First schemes.

National Yang Ming Chiao Tung University (TW)
Openalex Percentile: Top 85%
Software-Defined Networks and 5G
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.