Layer-4 Load Balancer for Flow Size Prediction with TCP/UDP Separation Using P4

  • Sanaa Alaa Hussein Department of Computer Engineering, College of Engineering, University of Baghdad, Baghdad, Iraq
  • Mustafa Ismael Salman Department of Computer Engineering, College of Engineering, University of Baghdad, Baghdad, Iraq
Keywords: P4, load balancing, FatTree

Abstract

        Nowadays, datacenters become more complicated and handle many more users’ requests. Custom protocols are becoming more demanded, and an advanced load balancer to distribute the  requests among servers is essential to serve the users quickly and efficiently. P4 introduced a new way to manipulate all packet headers. Therefore, by making use of the P4 ability to decapsulate the transport layer header, a new algorithm of load balancing is proposed. The algorithm has three main parts. First, a TCP/UDP separation  is used to separate the flows based on the network layer information about the used protocol in the transport layer. Second, a flow size prediction technique is adopted, which relies on the service port number of the transport layer. Lastly, a probing system is considered to detect and solve the failure of the link and server. The proposed load balancer enhances response time of both resources usage and packet processing of the datacenter. Also, our load balancer improves link failure detection by developing a custom probing protocol.

Published
2021-09-30
How to Cite
Hussein, S. A., & Salman, M. I. (2021). Layer-4 Load Balancer for Flow Size Prediction with TCP/UDP Separation Using P4. Iraqi Journal of Science, 62(9), 3152-3166. https://doi.org/10.24996/ijs.2021.62.9.30
Section
Computer Science