StatuScale: Status-aware and Elastic Scaling Strategy for Microservice Applications

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Wen, Linfeng, Xu, Minxian, Gill, Sukhpal Singh, Hilman, Muhammad Hafizhuddin, Srirama, Satish Narayana, Ye, Kejiang, Xu, Chengzhong
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914231483367424
author Wen, Linfeng
Xu, Minxian
Gill, Sukhpal Singh
Hilman, Muhammad Hafizhuddin
Srirama, Satish Narayana
Ye, Kejiang
Xu, Chengzhong
author_facet Wen, Linfeng
Xu, Minxian
Gill, Sukhpal Singh
Hilman, Muhammad Hafizhuddin
Srirama, Satish Narayana
Ye, Kejiang
Xu, Chengzhong
contents Microservice architecture has transformed traditional monolithic applications into lightweight components. Scaling these lightweight microservices is more efficient than scaling servers. However, scaling microservices still faces the challenges resulted from the unexpected spikes or bursts of requests, which are difficult to detect and can degrade performance instantaneously. To address this challenge and ensure the performance of microservice-based applications, we propose a status-aware and elastic scaling framework called StatuScale, which is based on load status detector that can select appropriate elastic scaling strategies for differentiated resource scheduling in vertical scaling. Additionally, StatuScale employs a horizontal scaling controller that utilizes comprehensive evaluation and resource reduction to manage the number of replicas for each microservice. We also present a novel metric named correlation factor to evaluate the resource usage efficiency. Finally, we use Kubernetes, an open-source container orchestration and management platform, and realistic traces from Alibaba to validate our approach. The experimental results have demonstrated that the proposed framework can reduce the average response time in the Sock-Shop application by 8.59% to 12.34%, and in the Hotel-Reservation application by 7.30% to 11.97%, decrease service level objective violations, and offer better performance in resource usage compared to baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2407_10173
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle StatuScale: Status-aware and Elastic Scaling Strategy for Microservice Applications
Wen, Linfeng
Xu, Minxian
Gill, Sukhpal Singh
Hilman, Muhammad Hafizhuddin
Srirama, Satish Narayana
Ye, Kejiang
Xu, Chengzhong
Distributed, Parallel, and Cluster Computing
Microservice architecture has transformed traditional monolithic applications into lightweight components. Scaling these lightweight microservices is more efficient than scaling servers. However, scaling microservices still faces the challenges resulted from the unexpected spikes or bursts of requests, which are difficult to detect and can degrade performance instantaneously. To address this challenge and ensure the performance of microservice-based applications, we propose a status-aware and elastic scaling framework called StatuScale, which is based on load status detector that can select appropriate elastic scaling strategies for differentiated resource scheduling in vertical scaling. Additionally, StatuScale employs a horizontal scaling controller that utilizes comprehensive evaluation and resource reduction to manage the number of replicas for each microservice. We also present a novel metric named correlation factor to evaluate the resource usage efficiency. Finally, we use Kubernetes, an open-source container orchestration and management platform, and realistic traces from Alibaba to validate our approach. The experimental results have demonstrated that the proposed framework can reduce the average response time in the Sock-Shop application by 8.59% to 12.34%, and in the Hotel-Reservation application by 7.30% to 11.97%, decrease service level objective violations, and offer better performance in resource usage compared to baselines.
title StatuScale: Status-aware and Elastic Scaling Strategy for Microservice Applications
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2407.10173