Analyzing Energy-Efficient and Kubernetes-Based Autoscaling of Microservices Using Probabilistic Model Checking


연구 분야: Software Development



학회: Journal of Grid Computing


초록

Microservices are widely used to enable agility and scalability in modern software systems, while cloud computing offers cost-effective ways to provision computing resources on demand. However, ensuring the correctness of scaling decisions and their impact on energy consumption is a challenging problem that has not been sufficiently addressed in previous research. Thus, in this paper, we present an innovative approach for analyzing host energy consumption and energy violations influenced by microservice autoscaling policies using probabilistic model checking (PMC). We propose four variations of the Markov Decision Process (MDP) models that incorporate various scaling constraints inspired by Kubernetes-based Horizontal Pod Autoscaler, and we encode these models using two different approaches, namely, bounded-by-action (BBA) and bounded-by-state (BBS). We use PMC to verify the scaling policies in terms of host energy consumption and energy violations, and we conduct sensitivity analysis to demonstrate the effectiveness of our models in generating energy-efficient scaling policies. Our results show that the latency and energy-based MDP model offers the most suitable policies for ensuring energy efficiency in microservice systems. Additionally, the number of pods and the scale-out action significantly affect energy consumption and violations. Sensitivity analysis also reveals that incorporating latency into scaling decisions is key to energy efficiency, while variations in the maximum pod threshold significantly influence energy consumption and violation. Our approach provides a formal method for ensuring the correctness of microservice autoscaling decisions in cloud environments at design time and can help reduce energy consumption and violations while ensuring service-level objectives are met.


Author Profile
Siti Nuraishah Agos Jawaddi

School of Computing Sciences College of Computing Informatics and Mathematics Universiti Teknologi MARA (UiTM) Selangor Malaysia

Andorra
Author Profile
Azlan Ismail

Institute for Big Data Analytics and Artificial Intelligence (IBDAAI) Universiti Teknologi MARA (UiTM) Selangor Malaysia

Andorra
Author Profile
Mohd Suffian Sulaiman

School of Computing Sciences College of Computing Informatics and Mathematics Universiti Teknologi MARA (UiTM) Selangor Malaysia

Andorra

📄 논문 정보

발행 연도 2024년
인용수 2
출판 국가 Andorra
사이트 Springer
좋아요 수 0

연관 논문 목록 (393건)