Balancing Load: An Adaptive Traffic Management Scheme for Microservices

Jiali Zhou, Xin Li, Qinhui Wang, X. Qin, Weiwei Miao, Jianwei Tian
{"title":"Balancing Load: An Adaptive Traffic Management Scheme for Microservices","authors":"Jiali Zhou, Xin Li, Qinhui Wang, X. Qin, Weiwei Miao, Jianwei Tian","doi":"10.1109/ICPADS56603.2022.00089","DOIUrl":null,"url":null,"abstract":"Service Mesh has become one of the most popular microservices governance frameworks. In the service governance function of traffic management, how to design an efficient strategy for request distribution to minimize response time has attracted wide research interest. Generally, a traffic policy can be pre-set manually. However, such a static policy always performs terribly when the load changes dynamically. That is, Service Mesh cannot adaptively select the optimal policy when setting service version diversion and selecting instances on the service subset. To address this issue, in this paper, we designed an adaptive strategy based on split-flow to achieve global load balancing. Furthermore, we implement such a strategy by developing a plug-in named DTMA for Istio, a typical representative of Service Mesh. By obtaining the Service Mesh node’s topology and global instance load distribution in real-time, Istio updates the optimal split-flow weight and selects the suitable load balancing strategy. Extensive experimental results show that our algorithm can reduce the response time by nearly half and keep a load of nodes and instances stable compared with Istio’s native configuration. The optimization effect of minimizing the response time is achieved through real-time load balancing.","PeriodicalId":335451,"journal":{"name":"2022 IEEE 28th International Conference on Parallel and Distributed Systems (ICPADS)","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 28th International Conference on Parallel and Distributed Systems (ICPADS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICPADS56603.2022.00089","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Service Mesh has become one of the most popular microservices governance frameworks. In the service governance function of traffic management, how to design an efficient strategy for request distribution to minimize response time has attracted wide research interest. Generally, a traffic policy can be pre-set manually. However, such a static policy always performs terribly when the load changes dynamically. That is, Service Mesh cannot adaptively select the optimal policy when setting service version diversion and selecting instances on the service subset. To address this issue, in this paper, we designed an adaptive strategy based on split-flow to achieve global load balancing. Furthermore, we implement such a strategy by developing a plug-in named DTMA for Istio, a typical representative of Service Mesh. By obtaining the Service Mesh node’s topology and global instance load distribution in real-time, Istio updates the optimal split-flow weight and selects the suitable load balancing strategy. Extensive experimental results show that our algorithm can reduce the response time by nearly half and keep a load of nodes and instances stable compared with Istio’s native configuration. The optimization effect of minimizing the response time is achieved through real-time load balancing.
负载均衡:微服务的自适应流量管理方案
Service Mesh已经成为最流行的微服务治理框架之一。在流量管理的服务治理功能中,如何设计一种有效的请求分配策略,使响应时间最小化,引起了广泛的研究兴趣。一般情况下,可以通过手动方式预先设置流策略。但是,当负载动态变化时,这种静态策略的执行总是很糟糕。即Service Mesh在设置服务版本分流和选择服务子集上的实例时,不能自适应选择最优策略。为了解决这一问题,本文设计了一种基于分流流的自适应策略来实现全局负载均衡。此外,我们通过为Istio (Service Mesh的典型代表)开发一个名为DTMA的插件来实现这样的策略。Istio通过实时获取Service Mesh节点的拓扑结构和全局实例负载分布,更新最优的分流权值,选择合适的负载均衡策略。大量的实验结果表明,与Istio的本地配置相比,我们的算法可以减少近一半的响应时间,并保持节点和实例负载的稳定。通过实时负载均衡实现响应时间最小化的优化效果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书