Saved in:
Bibliographic Details
Main Authors: Xie, Shuaiyu, Wang, Jian, Li, Bing, Zhang, Zekun, Li, Duantengchuan, H, Patrick C. K.
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2303.14620
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916184695242752
author Xie, Shuaiyu
Wang, Jian
Li, Bing
Zhang, Zekun
Li, Duantengchuan
H, Patrick C. K.
author_facet Xie, Shuaiyu
Wang, Jian
Li, Bing
Zhang, Zekun
Li, Duantengchuan
H, Patrick C. K.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2303_14620
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle PBScaler: A Bottleneck-aware Autoscaling Framework for Microservice-based Applications
Xie, Shuaiyu
Wang, Jian
Li, Bing
Zhang, Zekun
Li, Duantengchuan
H, Patrick C. K.
Software Engineering
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.
title PBScaler: A Bottleneck-aware Autoscaling Framework for Microservice-based Applications
topic Software Engineering
url https://arxiv.org/abs/2303.14620