Dynamically Balancing Load with Overload Control for Microservices

IF 4.7 Q2 MATERIALS SCIENCE, BIOMATERIALS ACS Applied Bio Materials Pub Date : 2024-07-05 DOI:10.1145/3676167
Ratnadeep Bhattacharya, Yuan Gao, Timothy Wood
{"title":"Dynamically Balancing Load with Overload Control for Microservices","authors":"Ratnadeep Bhattacharya, Yuan Gao, Timothy Wood","doi":"10.1145/3676167","DOIUrl":null,"url":null,"abstract":"The microservices architecture simplifies application development by breaking monolithic applications into manageable microservices. However, this distributed microservice “service mesh” leads to new challenges due to the more complex application topology. Particularly, each service component scales up and down independently creating load imbalance problems on shared backend services accessed by multiple components. Traditional load balancing algorithms do not port over well to a distributed microservice architecture where load balancers are deployed client-side. In this paper, we propose a self-managing load balancing system, BLOC, which provides consistent response times to users without using a centralized metadata store or explicit messaging between nodes. BLOC uses overload control approaches to provide feedback to the load balancers. We show that this performs significantly better in solving the incast problem in microservice architectures. A critical component of BLOC is the dynamic capacity estimation algorithm. We show that a well-tuned capacity estimate can outperform even Join-the-Shortest-Queue, a nearly optimal algorithm, while a reasonable dynamic estimate still outperforms Least Connection, a distributed implementation of Join-the-Shortest-Queue. Evaluating this framework, we found that BLOC improves the response time distribution range, between the 10th and 90th percentiles, by 2 to 4 times and the tail, 99th percentile, latency by 2 times.","PeriodicalId":2,"journal":{"name":"ACS Applied Bio Materials","volume":"195 ","pages":""},"PeriodicalIF":4.7000,"publicationDate":"2024-07-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACS Applied Bio Materials","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1145/3676167","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MATERIALS SCIENCE, BIOMATERIALS","Score":null,"Total":0}
引用次数: 0

Abstract

The microservices architecture simplifies application development by breaking monolithic applications into manageable microservices. However, this distributed microservice “service mesh” leads to new challenges due to the more complex application topology. Particularly, each service component scales up and down independently creating load imbalance problems on shared backend services accessed by multiple components. Traditional load balancing algorithms do not port over well to a distributed microservice architecture where load balancers are deployed client-side. In this paper, we propose a self-managing load balancing system, BLOC, which provides consistent response times to users without using a centralized metadata store or explicit messaging between nodes. BLOC uses overload control approaches to provide feedback to the load balancers. We show that this performs significantly better in solving the incast problem in microservice architectures. A critical component of BLOC is the dynamic capacity estimation algorithm. We show that a well-tuned capacity estimate can outperform even Join-the-Shortest-Queue, a nearly optimal algorithm, while a reasonable dynamic estimate still outperforms Least Connection, a distributed implementation of Join-the-Shortest-Queue. Evaluating this framework, we found that BLOC improves the response time distribution range, between the 10th and 90th percentiles, by 2 to 4 times and the tail, 99th percentile, latency by 2 times.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用微服务的过载控制动态平衡负载
微服务架构将单体应用程序分解为可管理的微服务,从而简化了应用程序的开发。然而,由于应用程序拓扑结构更为复杂,这种分布式微服务 "服务网 "带来了新的挑战。特别是,每个服务组件都会独立地向上和向下扩展,从而在多个组件访问的共享后端服务上造成负载不平衡问题。传统的负载平衡算法不能很好地移植到分布式微服务架构中,在这种架构中,负载平衡器部署在客户端。在本文中,我们提出了一种自管理负载平衡系统 BLOC,它无需使用集中式元数据存储或节点间的显式消息传递,就能为用户提供一致的响应时间。BLOC 使用过载控制方法向负载平衡器提供反馈。我们的研究表明,这种方法在解决微服务架构中的incast问题方面有明显的优势。BLOC 的一个关键组成部分是动态容量估算算法。我们的研究表明,经过良好调整的容量估计甚至可以优于Join-the-Shortest-Queue(一种近乎最优的算法),而合理的动态估计仍然优于Least Connection(一种Join-the-Shortest-Queue的分布式实现)。在对这一框架进行评估时,我们发现 BLOC 可将响应时间分布范围(第 10 个百分位数和第 90 个百分位数之间)提高 2 到 4 倍,将尾部(第 99 个百分位数)的延迟时间提高 2 倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
ACS Applied Bio Materials
ACS Applied Bio Materials Chemistry-Chemistry (all)
CiteScore
9.40
自引率
2.10%
发文量
464
期刊介绍: ACS Applied Bio Materials is an interdisciplinary journal publishing original research covering all aspects of biomaterials and biointerfaces including and beyond the traditional biosensing, biomedical and therapeutic applications. The journal is devoted to reports of new and original experimental and theoretical research of an applied nature that integrates knowledge in the areas of materials, engineering, physics, bioscience, and chemistry into important bio applications. The journal is specifically interested in work that addresses the relationship between structure and function and assesses the stability and degradation of materials under relevant environmental and biological conditions.
期刊最新文献
Covalent Immobilization of Hydrogels on Carbon Fiber Microelectrodes for the Determination of Dopamine in the Living Mouse Brain. Core-Shell Electrospun Membranes Enable Antimicrobial and Immunomodulatory Local Therapy for Periodontitis. Gold Nanoparticles Combine with Radiation Therapy to Drive Immunogenic Macrophage Reprogramming. Glucose-Responsive and Sustained Insulin-Releasing G-quartet/Protein Hydrogel Promotes Week-Long Normoglycemia in DiabeticRats. Relaxation Suppressed Exchange Tuning MRI Integrated with Manganese-Based Nanozyme Probes for Ferroptosis Induction and GPX4 Monitoring.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1