A performance modeling framework for microservices-based cloud infrastructures

被引:0
作者
Thiago Felipe da Silva Pinheiro
Paulo Pereira
Bruno Silva
Paulo Maciel
机构
[1] Federal University of Pernambuco,Centro de Informática (CIn)
[2] Microsoft,Research
来源
The Journal of Supercomputing | 2023年 / 79卷
关键词
Microservices; Performance modeling; NSGA-II; Genetic algorithm; Machine learning; Stochastic petri nets;
D O I
暂无
中图分类号
学科分类号
摘要
Microservice architectures (MSAs) can increase the performance of distributed systems and enable better resource allocation by sharing underlying resources among multiple microservices (MSs). One of the main advantages of MSAs is the ability to leverage the elasticity provided by an infrastructure so that only the most demanding services are scaled, which can contribute to efficient allocation of processing resources. A major problem in allocating resources to microservices is determining a set of auto-scaling parameters that will result in all microservices meeting specific service level agreements (SLAs). Since the space of feasible configurations can be vast, manually determining a combination of parameter values that will result in all SLAs being met is complex and time consuming. In addition, the performance overhead caused by running microservices concurrently and the overhead caused by the VM instantiation process must also be evaluated. Another problem is that microservices can suffer performance degradation due to resource contention, which depends on how microservices are distributed across servers. To address the aforementioned issues, this paper proposes the modeling of these infrastructures and their auto-scaling mechanisms in a private cloud using stochastic Petri nets (SPNs), the non-dominated sorting genetic algorithm II (NSGA-II), one of the most popular evolutionary algorithms for multiobjective optimization (MOO), and random forest regression (RFR), an ensemble-learning-based method, to identify critical trade-offs between performance and resource consumption considering all deployed MSs. The SPN-based model is capable of representing both instantiation of elastic VMs and a pool of instantiated elastic VMs where only containers are started. The analytical framework enables service providers (SPs) to estimate performance metrics considering configurations that satisfy all performance constraints, use of elastic VMs, discard rate, discard probability, throughput, response time, and corresponding cumulative distribution functions (CDFs). These metrics are critical because they make it possible to estimate the time required to process each request, the number of requests processed in a time interval, the number of requests rejected, and the utilization of resources. The framework was validated with 95% confidence interval (CI) using a real-world testbed. Two case studies were used to investigate its feasibility by evaluating its application in a real scenario. We noticed a significant improvement in performance when using a pool of elastic VMs, where throughput improved by 21.5% and the number of discarded requests decreased by 70%. The application of the framework can help in finding optimized solutions that support both infrastructure planning and online performance prediction, and enable trade-off analyses considering different scenarios and constraints.
引用
收藏
页码:7762 / 7803
页数:41
相关论文
共 50 条
[21]   Software Components Selection in Microservices-based Systems [J].
Lenarduzzi, Valentina ;
Sievi-Korte, Outi .
19TH INTERNATIONAL CONFERENCE ON AGILE SOFTWARE DEVELOPMENT (XP '18), 2018,
[22]   A pattern language for scalable microservices-based systems [J].
Marquez, Gaston ;
Villegas, Monica M. ;
Astudillo, Hernan .
ECSA 2018: PROCEEDINGS OF THE 12TH EUROPEAN CONFERENCE ON SOFTWARE ARCHITECTURE: COMPANION PROCEEDINGS, 2018,
[23]   A Comparative Study of Microservices-based IoT Platforms [J].
El Khalyly, Badr ;
Belangour, Abdessamad ;
Banane, Mouad ;
Erraissi, Allae .
INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2020, 11 (08) :389-398
[24]   Microservices-based cloud-edge collaborative condition monitoring platform for smart manufacturing systems [J].
Yang, Hanbo ;
Ong, S. K. ;
Nee, A. Y. C. ;
Jiang, Gedong ;
Mei, Xuesong .
INTERNATIONAL JOURNAL OF PRODUCTION RESEARCH, 2022, 60 (24) :7492-7501
[25]   MicroFog: A framework for scalable placement of microservices-based IoT applications in federated Fog environments [J].
Pallewatta, Samodha ;
Kostakos, Vassilis ;
Buyya, Rajkumar .
JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 209
[26]   Phi: A Generic Microservices-Based Big Data Architecture [J].
Maamouri, Amine ;
Sfaxi, Lilia ;
Robbana, Riadh .
INFORMATION SYSTEMS (EMCIS 2021), 2022, 437 :3-16
[27]   HoneyKube: Designing and Deploying a Microservices-based Web Honeypot [J].
Gupta, Chakshu ;
van Ede, Thijs ;
Continella, Andrea .
2023 IEEE SECURITY AND PRIVACY WORKSHOPS, SPW, 2023, :1-11
[28]   Migrating Monoliths to Microservices-based Customizable Multi-tenant Cloud-native Apps [J].
Haugeland, Sindre Gronstol ;
Nguyen, Phu H. ;
Song, Hui ;
Chauvel, Franck .
2021 47TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2021), 2021, :170-177
[29]   A Review of Container level Autoscaling for Microservices-based Applications [J].
Fourati, Mohamed Hedi ;
Marzouk, Soumaya ;
Jmaiel, Mohamed .
2021 IEEE 30TH INTERNATIONAL CONFERENCE ON ENABLING TECHNOLOGIES: INFRASTRUCTURE FOR COLLABORATIVE ENTERPRISES (WETICE 2021), 2021, :17-22
[30]   Addressing Expressiveness for a UML Microservices-Based Modeling within the Life Cycle of the Ubiquitous System Development [J].
Carranza-Garcia, Francisco ;
Rodriguez-Dominguez, Carlos ;
Luis Garrido, Jose .
2021 17TH INTERNATIONAL CONFERENCE ON INTELLIGENT ENVIRONMENTS (IE), 2021,