arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.17783cs.DC
收藏

KnapsackLB:实现性能感知的四层负载均衡

KnapsackLB: Enabling Performance-Aware Layer-4 Load Balancing

Rohan Gandhi, Srinivas Narayana

AI总结:

本文提出KNAPSACKLB系统,通过主动探测学习后端实例延迟映射并应用整数线性规划计算优化权重,无需部署代理即可实现性能感知的四层负载均衡,将平均延迟降低达45%。

摘要:

四层负载均衡器(LB)是在线服务的关键基础组件。在本文中,我们使此类负载均衡器能够适应后端实例(DIP)不同且动态变化的性能。我们的系统KNAPSACKLB具有通用性(可与多种负载均衡器协同工作),无需在DIP、负载均衡器或客户端上部署代理,并且能够扩展至大量DIP。KNAPSACKLB采用审慎的主动探测来学习负载均衡器权重到每个DIP响应延迟的映射,随后应用整数线性规划(ILP)计算优化延迟的负载均衡器权重,并使用迭代方法将计算扩展至大量DIP。通过测试床实验和仿真,我们表明KNAPSACKLB能根据性能均衡流量,与现有设计相比,将平均延迟降低了高达45%。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑