Iure Fé , Tuan Anh Nguyen , Eunmi Choi , Dugki Min , Jae-Woo Lee , Vandirleya Barbosa , André Soares , Paulo A.L. Rego , Alessandro Mei , Francisco Airton Silva
{"title":"基于广义随机Petri网的Kubernetes微服务节能性能优化","authors":"Iure Fé , Tuan Anh Nguyen , Eunmi Choi , Dugki Min , Jae-Woo Lee , Vandirleya Barbosa , André Soares , Paulo A.L. Rego , Alessandro Mei , Francisco Airton Silva","doi":"10.1016/j.jnca.2025.104287","DOIUrl":null,"url":null,"abstract":"<div><div>The advantages of microservices system architectures orchestrated by Kubernetes include their capacity to adjust dynamically to meet varying demand, thereby ensuring application performance requirements during high load periods while reducing electrical consumption during low demand periods. However, the proper configuration of autoscaling in microservices systems presents significant challenges due to the myriad of parameters involved, with optimal choices highly dependent on both the application and the underlying infrastructure. Balancing system performance with energy efficiency is inherently difficult, as enhancements in one area often lead to detriments in the other. In this article, a model is presented to aid in the planning of performance and electrical consumption for microservices architectures orchestrated by Kubernetes, utilizing Pod and cluster autoscaling. The approach is based on the application of Generalized Stochastic Petri Net models. This methodology enabled the creation of a comprehensive model that incorporates various Kubernetes autoscaling configuration elements, the performance characteristics of individual microservices, and the capacity of the underlying infrastructure. The proposed model is capable of computing key metrics, including response time, throughput, discard probability, electrical consumption, average consumption per request, and the Energy-Response time Weighted Product. Sensitivity analysis was employed to identify the elements exerting the greatest impact on the performance and electrical consumption of the architecture, thereby guiding parameter adjustment efforts. It was also determined that the optimal configuration choices are contingent on the expected workload. The results indicate that using configurations with higher autoscaling thresholds during low workloads can reduce electrical consumption by approximately 32% without significantly degrading performance. Conversely, in high arrival rate scenarios, this autoscaling configuration results in a 37% reduction in consumption but at the cost of a 175% increase in response time.</div></div>","PeriodicalId":54784,"journal":{"name":"Journal of Network and Computer Applications","volume":"243 ","pages":"Article 104287"},"PeriodicalIF":8.0000,"publicationDate":"2025-08-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Energy-efficient performance optimization in Kubernetes microservices using Generalized Stochastic Petri Net\",\"authors\":\"Iure Fé , Tuan Anh Nguyen , Eunmi Choi , Dugki Min , Jae-Woo Lee , Vandirleya Barbosa , André Soares , Paulo A.L. Rego , Alessandro Mei , Francisco Airton Silva\",\"doi\":\"10.1016/j.jnca.2025.104287\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>The advantages of microservices system architectures orchestrated by Kubernetes include their capacity to adjust dynamically to meet varying demand, thereby ensuring application performance requirements during high load periods while reducing electrical consumption during low demand periods. However, the proper configuration of autoscaling in microservices systems presents significant challenges due to the myriad of parameters involved, with optimal choices highly dependent on both the application and the underlying infrastructure. Balancing system performance with energy efficiency is inherently difficult, as enhancements in one area often lead to detriments in the other. In this article, a model is presented to aid in the planning of performance and electrical consumption for microservices architectures orchestrated by Kubernetes, utilizing Pod and cluster autoscaling. The approach is based on the application of Generalized Stochastic Petri Net models. This methodology enabled the creation of a comprehensive model that incorporates various Kubernetes autoscaling configuration elements, the performance characteristics of individual microservices, and the capacity of the underlying infrastructure. The proposed model is capable of computing key metrics, including response time, throughput, discard probability, electrical consumption, average consumption per request, and the Energy-Response time Weighted Product. Sensitivity analysis was employed to identify the elements exerting the greatest impact on the performance and electrical consumption of the architecture, thereby guiding parameter adjustment efforts. It was also determined that the optimal configuration choices are contingent on the expected workload. The results indicate that using configurations with higher autoscaling thresholds during low workloads can reduce electrical consumption by approximately 32% without significantly degrading performance. Conversely, in high arrival rate scenarios, this autoscaling configuration results in a 37% reduction in consumption but at the cost of a 175% increase in response time.</div></div>\",\"PeriodicalId\":54784,\"journal\":{\"name\":\"Journal of Network and Computer Applications\",\"volume\":\"243 \",\"pages\":\"Article 104287\"},\"PeriodicalIF\":8.0000,\"publicationDate\":\"2025-08-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Network and Computer Applications\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S1084804525001845\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Network and Computer Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1084804525001845","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
Energy-efficient performance optimization in Kubernetes microservices using Generalized Stochastic Petri Net
The advantages of microservices system architectures orchestrated by Kubernetes include their capacity to adjust dynamically to meet varying demand, thereby ensuring application performance requirements during high load periods while reducing electrical consumption during low demand periods. However, the proper configuration of autoscaling in microservices systems presents significant challenges due to the myriad of parameters involved, with optimal choices highly dependent on both the application and the underlying infrastructure. Balancing system performance with energy efficiency is inherently difficult, as enhancements in one area often lead to detriments in the other. In this article, a model is presented to aid in the planning of performance and electrical consumption for microservices architectures orchestrated by Kubernetes, utilizing Pod and cluster autoscaling. The approach is based on the application of Generalized Stochastic Petri Net models. This methodology enabled the creation of a comprehensive model that incorporates various Kubernetes autoscaling configuration elements, the performance characteristics of individual microservices, and the capacity of the underlying infrastructure. The proposed model is capable of computing key metrics, including response time, throughput, discard probability, electrical consumption, average consumption per request, and the Energy-Response time Weighted Product. Sensitivity analysis was employed to identify the elements exerting the greatest impact on the performance and electrical consumption of the architecture, thereby guiding parameter adjustment efforts. It was also determined that the optimal configuration choices are contingent on the expected workload. The results indicate that using configurations with higher autoscaling thresholds during low workloads can reduce electrical consumption by approximately 32% without significantly degrading performance. Conversely, in high arrival rate scenarios, this autoscaling configuration results in a 37% reduction in consumption but at the cost of a 175% increase in response time.
期刊介绍:
The Journal of Network and Computer Applications welcomes research contributions, surveys, and notes in all areas relating to computer networks and applications thereof. Sample topics include new design techniques, interesting or novel applications, components or standards; computer networks with tools such as WWW; emerging standards for internet protocols; Wireless networks; Mobile Computing; emerging computing models such as cloud computing, grid computing; applications of networked systems for remote collaboration and telemedicine, etc. The journal is abstracted and indexed in Scopus, Engineering Index, Web of Science, Science Citation Index Expanded and INSPEC.