Cost-Effective and Deployment-Friendly L4 Load Balancers Based on Programmable Switches

Dong Zhou, Shuo Wang, Tao Huang
{"title":"Cost-Effective and Deployment-Friendly L4 Load Balancers Based on Programmable Switches","authors":"Dong Zhou, Shuo Wang, Tao Huang","doi":"10.1109/GLOBECOM48099.2022.10001588","DOIUrl":null,"url":null,"abstract":"Recent proposals leverage emerging programmable switches to implement high-throughput and low-latency load balancers in the datacenter. However, most of them store per-connection states in programmable switches to ensure consistent load balancing decisions, which is costly due to the limited on-chip memory. Other proposals avoid storing per-connection states but have difficulty in large-scale deployment due to the modification of running applications. We present CDLB, a cost-effective and deployment-friendly Layer-4 load balancer based on programmable switches in the datacenter. To be cost-effective, CDLB leverages an improved hash-based algorithm that can maintain per-connection consistency in a static environment. To be easier in deployment, we introduce a small state table and design a protocol between load balancers and the controller to maintain per-connection consistency in a dynamic environment without modifying running applications. The state table stores small amounts of connection states temporarily to ensure consistent load balancing decisions under device variations. We implemented CDLB with bmv2 in the mininet environment. The evaluation results show that CDLB greatly reduces overhead and achieves better performance compared with stateful load balancers which store per-connection states in programmable switches, and CDLB maintains per-connection consistency well in a dynamic environment.","PeriodicalId":313199,"journal":{"name":"GLOBECOM 2022 - 2022 IEEE Global Communications Conference","volume":"112 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"GLOBECOM 2022 - 2022 IEEE Global Communications Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GLOBECOM48099.2022.10001588","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Recent proposals leverage emerging programmable switches to implement high-throughput and low-latency load balancers in the datacenter. However, most of them store per-connection states in programmable switches to ensure consistent load balancing decisions, which is costly due to the limited on-chip memory. Other proposals avoid storing per-connection states but have difficulty in large-scale deployment due to the modification of running applications. We present CDLB, a cost-effective and deployment-friendly Layer-4 load balancer based on programmable switches in the datacenter. To be cost-effective, CDLB leverages an improved hash-based algorithm that can maintain per-connection consistency in a static environment. To be easier in deployment, we introduce a small state table and design a protocol between load balancers and the controller to maintain per-connection consistency in a dynamic environment without modifying running applications. The state table stores small amounts of connection states temporarily to ensure consistent load balancing decisions under device variations. We implemented CDLB with bmv2 in the mininet environment. The evaluation results show that CDLB greatly reduces overhead and achieves better performance compared with stateful load balancers which store per-connection states in programmable switches, and CDLB maintains per-connection consistency well in a dynamic environment.
基于可编程交换机的经济高效且易于部署的L4负载均衡器
最近的建议利用新兴的可编程交换机来实现数据中心的高吞吐量和低延迟负载平衡器。然而,它们中的大多数将每个连接状态存储在可编程交换机中,以确保一致的负载平衡决策,由于片上内存有限,这是昂贵的。其他建议避免存储每连接状态,但由于正在运行的应用程序的修改,在大规模部署中存在困难。我们提出了CDLB,一种基于数据中心可编程交换机的经济高效且易于部署的第4层负载平衡器。为了节省成本,CDLB利用了一种改进的基于散列的算法,该算法可以在静态环境中维护每个连接的一致性。为了简化部署,我们引入了一个小状态表,并在负载平衡器和控制器之间设计了一个协议,以便在动态环境中维护每个连接的一致性,而无需修改正在运行的应用程序。状态表临时存储少量的连接状态,以确保在设备变化情况下保持一致的负载平衡决策。我们在mininet环境中使用bmv2实现了CDLB。评估结果表明,与将每连接状态存储在可编程交换机中的有状态负载均衡器相比,CDLB大大降低了开销,取得了更好的性能,并且CDLB在动态环境中保持了每连接的一致性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信