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

PBScaler:面向微服务应用的瓶颈感知自动扩缩容框架

PBScaler: A Bottleneck-aware Autoscaling Framework for Microservice-based Applications

Shuaiyu Xie, Jian Wang, Bing Li, Zekun Zhang, Duantengchuan Li, Patrick C. K. H

AI总结:

PBScaler框架通过TopoRank随机游走算法定位微服务性能瓶颈,并结合离线优化实现无振荡的副本管理,在防止性能下降的同时高效节省资源。

摘要:

自动扩缩容对于确保具有动态工作负载的云应用实现最优性能和资源利用率至关重要。然而,由于微服务之间多样化的工作负载模式和复杂的交互关系,传统的自动扩缩容技术通常不再适用于基于微服务的应用。具体而言,性能异常通过交互传播会导致大量微服务出现异常,使得识别根本性能瓶颈(PBs)并制定合适的扩缩容策略变得困难。此外,为了平衡资源消耗和性能,现有基于在线优化算法的主流方法需要多次迭代,从而导致振荡并增加性能下降的可能性。为了解决这些问题,我们提出了PBScaler,一个以瓶颈感知为核心的自动扩缩容框架,旨在防止基于微服务的应用出现性能下降。PBScaler的关键思想在于定位性能瓶颈。为此,我们提出了TopoRank,一种基于拓扑势的新型随机游走算法,以减少不必要的扩缩容操作。通过将TopoRank与离线性能感知优化算法相结合,PBScaler在不干扰在线应用的情况下优化副本管理。综合实验表明,PBScaler在缓解性能问题的同时高效节省资源方面优于现有的最先进方法。

英文摘要:

Autoscaling is critical for ensuring optimal performance and resource utilization in cloud applications with dynamic workloads. However, traditional autoscaling technologies are typically no longer applicable in microservice-based applications due to the diverse workload patterns and complex interactions between microservices. Specifically, the propagation of performance anomalies through interactions leads to a high number of abnormal microservices, making it difficult to identify the root performance bottlenecks (PBs) and formulate appropriate scaling strategies. In addition, to balance resource consumption and performance, the existing mainstream approaches based on online optimization algorithms require multiple iterations, leading to oscillation and elevating the likelihood of performance degradation. To tackle these issues, we propose PBScaler, a bottleneck-aware autoscaling framework designed to prevent performance degradation in a microservice-based application. The key insight of PBScaler is to locate the PBs. Thus, we propose TopoRank, a novel random walk algorithm based on the topological potential to reduce unnecessary scaling. By integrating TopoRank with an offline performance-aware optimization algorithm, PBScaler optimizes replica management without disrupting the online application. Comprehensive experiments demonstrate that PBScaler outperforms existing state-of-the-art approaches in mitigating performance issues while conserving resources efficiently.

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

↑