Stateless Load-Aware Load Balancing in P4

  • Benoît Pit-Claudel
  • , Yoann Desmouceaux
  • , Pierre Pfister
  • , Mark Townsley
  • , Thomas Clausen

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Leveraging the performance opportunities offered by programmable hardware, stateless load-balancing architectures allowing line-rate processing are appealing. Moreover, it has been demonstrated that significantly fairer load-balancing can be achieved by an architecture that considers the actual load of application instances when dispatching connection requests. Architectures which maintain per-connection state for resiliency and/or track application load state for fairness are, however, at odds with hardware-imposed memory constraints. Thus, a desirable load-balancer for programmable hardware would be both stateless and able to dispatch queries to application instances according to their current load. This paper presents SHELL, a stateless application-aware load-balancer combining (i) a power-of-choices scheme using IPv6 Segment Routing to dispatch new flows to a suitable application instance from among multiple candidates, and (ii) the use of a covert channel to record/report which flow was assigned to which candidate in a stateless fashion. In addition, consistent hashing versioning is used to ensure that connections are maintained to the correct application instance, using Segment Routing to 'browse' through the history when needed. The stateless design of SHELL makes it suitable for hardware implementation, and this paper describes the implementation of a P4-NetFPGA prototype. A performance evaluation of this SHELL implementation demonstrates throughput and latency characteristics comparable to other stateless load-balancing implementations, while enabling application instance-load-aware dispatching and significantly increasing per-connection consistency resiliency.

Original languageEnglish
Title of host publicationProceedings - 26th IEEE International Conference on Network Protocols, ICNP 2018
PublisherIEEE Computer Society
Pages418-423
Number of pages6
ISBN (Electronic)9781538660430
DOIs
Publication statusPublished - 7 Nov 2018
Externally publishedYes
Event26th IEEE International Conference on Network Protocols, ICNP 2018 - Cambridge, United Kingdom
Duration: 24 Sept 201827 Sept 2018

Publication series

NameProceedings - International Conference on Network Protocols, ICNP
Volume2018-September
ISSN (Print)1092-1648

Conference

Conference26th IEEE International Conference on Network Protocols, ICNP 2018
Country/TerritoryUnited Kingdom
CityCambridge
Period24/09/1827/09/18

Keywords

  • P4 NetFPGA
  • load balancing
  • programmable hardware
  • segment routing

Fingerprint

Dive into the research topics of 'Stateless Load-Aware Load Balancing in P4'. Together they form a unique fingerprint.

Cite this