KnapsackLB: Enabling Performance-Aware Layer-4 Load Balancing

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Gandhi, Rohan, Narayana, Srinivas
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916226954952704
author Gandhi, Rohan
Narayana, Srinivas
author_facet Gandhi, Rohan
Narayana, Srinivas
contents Layer-4 load balancer (LB) is a key building block of online services. In this paper, we empower such LBs to adapt to different and dynamic performance of backend instances (DIPs). Our system, KNAPSACKLB, is generic (can work with variety of LBs), does not require agents on DIPs, LBs or clients, and scales to large numbers of DIPs. KNAPSACKLB uses judicious active probes to learn a mapping from LB weights to the response latency of each DIP, and then applies Integer Linear Programming (ILP) to calculate LB weights that optimize latency, using an iterative method to scale the computation to large numbers of DIPs. Using testbed experiments and simulations, we show that KNAPSACKLB load balances traffic as per the performance and cuts average latency by up to 45% compared to existing designs.
format Preprint
id arxiv_https___arxiv_org_abs_2404_17783
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle KnapsackLB: Enabling Performance-Aware Layer-4 Load Balancing
Gandhi, Rohan
Narayana, Srinivas
Distributed, Parallel, and Cluster Computing
Layer-4 load balancer (LB) is a key building block of online services. In this paper, we empower such LBs to adapt to different and dynamic performance of backend instances (DIPs). Our system, KNAPSACKLB, is generic (can work with variety of LBs), does not require agents on DIPs, LBs or clients, and scales to large numbers of DIPs. KNAPSACKLB uses judicious active probes to learn a mapping from LB weights to the response latency of each DIP, and then applies Integer Linear Programming (ILP) to calculate LB weights that optimize latency, using an iterative method to scale the computation to large numbers of DIPs. Using testbed experiments and simulations, we show that KNAPSACKLB load balances traffic as per the performance and cuts average latency by up to 45% compared to existing designs.
title KnapsackLB: Enabling Performance-Aware Layer-4 Load Balancing
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2404.17783