ProxyDWRR: A Dynamic Load Balancing Approach for Heterogeneous-CPU Kubernetes Clusters

Qingkun Wang, Yi Ren, Saqing Yang, Jianbo Guan, Bao Li, Jianfeng Zhang, Yusong Tan
{"title":"ProxyDWRR: A Dynamic Load Balancing Approach for Heterogeneous-CPU Kubernetes Clusters","authors":"Qingkun Wang, Yi Ren, Saqing Yang, Jianbo Guan, Bao Li, Jianfeng Zhang, Yusong Tan","doi":"10.1109/JCC56315.2022.00017","DOIUrl":null,"url":null,"abstract":"Edge computing is booming as a promising paradigm to push the service and computation resources from the cloud to the edge of network. As the de-facto standard for container orchestration, Kubernetes is more and more widely used not only in cloud computing but also in edge computing. However, Kubernetes is designed for homogenous cloud data centers, and it does not take into account heterogeneous scenarios, which is ubiquitous is the edge. This will lead to load imbalance among containers with its default rough load balancing mechanism. To deal with this problem, we firstly propose a Dynamically Weighted Random Routing (DWRR) algorithm based on the default random algorithm in Kubernetes. Besides, we design and implement ProxyDWRR, a load balancing plugin for the Kubernetes cluster with heterogeneous CPU. It is fully compatible with the existing load balancing mechanism in Kubernetes. We validated our solution based on a cloud-native microservices application. The experimental results show that ProxyDWRR can effectively balance the load between containers in clusters with heterogeneous CPU. In our experiments, DWRR can improve the CPU utilization of the containers by about 25% and the throughput of the application by about 22.6% compared to the default load balancing algorithms, which enables the cluster to evacuate bursty load more effectively.","PeriodicalId":239996,"journal":{"name":"2022 IEEE International Conference on Joint Cloud Computing (JCC)","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Joint Cloud Computing (JCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/JCC56315.2022.00017","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Edge computing is booming as a promising paradigm to push the service and computation resources from the cloud to the edge of network. As the de-facto standard for container orchestration, Kubernetes is more and more widely used not only in cloud computing but also in edge computing. However, Kubernetes is designed for homogenous cloud data centers, and it does not take into account heterogeneous scenarios, which is ubiquitous is the edge. This will lead to load imbalance among containers with its default rough load balancing mechanism. To deal with this problem, we firstly propose a Dynamically Weighted Random Routing (DWRR) algorithm based on the default random algorithm in Kubernetes. Besides, we design and implement ProxyDWRR, a load balancing plugin for the Kubernetes cluster with heterogeneous CPU. It is fully compatible with the existing load balancing mechanism in Kubernetes. We validated our solution based on a cloud-native microservices application. The experimental results show that ProxyDWRR can effectively balance the load between containers in clusters with heterogeneous CPU. In our experiments, DWRR can improve the CPU utilization of the containers by about 25% and the throughput of the application by about 22.6% compared to the default load balancing algorithms, which enables the cluster to evacuate bursty load more effectively.
ProxyDWRR:用于异构cpu Kubernetes集群的动态负载平衡方法
边缘计算作为一种将服务和计算资源从云端推向网络边缘的有前途的范例正在蓬勃发展。作为容器编排的事实上的标准,Kubernetes不仅在云计算中得到越来越广泛的应用,而且在边缘计算中也得到了越来越广泛的应用。然而,Kubernetes是为同质云数据中心设计的,它没有考虑到异构场景,这是无处不在的边缘。这将导致具有默认粗略负载平衡机制的容器之间的负载不平衡。为了解决这个问题,我们首先提出了一种基于Kubernetes默认随机算法的动态加权随机路由(DWRR)算法。此外,我们还设计并实现了一个用于Kubernetes集群异构CPU的负载均衡插件ProxyDWRR。它与Kubernetes中现有的负载平衡机制完全兼容。我们基于云原生微服务应用验证了我们的解决方案。实验结果表明,ProxyDWRR可以有效地平衡异构CPU集群中容器之间的负载。在我们的实验中,与默认负载均衡算法相比,DWRR可以将容器的CPU利用率提高约25%,应用程序的吞吐量提高约22.6%,使集群能够更有效地疏散突发负载。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信