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 条
[41]   Design of a Joint Microservices-based Smart Epidemic Prevention Platform [J].
Zhang, Liang .
2021 INTERNATIONAL CONFERENCE ON CYBER-PHYSICAL SOCIAL INTELLIGENCE (ICCSI), 2021,
[42]   A Microservices-Based Approach to Designing an Intelligent Railway Control System Architecture [J].
Atanasov, Ivaylo ;
Vatakov, Vasil ;
Pencheva, Evelina .
SYMMETRY-BASEL, 2023, 15 (08)
[43]   Guidelines for Adopting Frontend Architectures and Patterns in Microservices-Based Systems [J].
Harms, Holger ;
Rogowski, Collin ;
Lo Iacono, Luigi .
ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, :902-907
[44]   An empirical investigation on the competences and roles of practitioners in Microservices-based Architectures [J].
Ayas, Hamdy Michael ;
Hebig, Regina ;
Leitner, Philipp .
JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 213
[45]   Evaluating Frameworks Assemblies In Microservices-based Systems Using Imperfect Information [J].
Marquez, Gaston ;
Lazo, Yoslandy ;
Astudillo, Hernan .
2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2020), 2020, :250-257
[46]   ROMA: Resource Orchestration for Microservices-based 5G Applications [J].
Gholami, Anousheh ;
Rao, Kunal ;
Hsiung, Wang-Pin ;
Po, Oliver ;
Sankaradas, Murugan ;
Chakradhar, Srimat .
PROCEEDINGS OF THE IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM 2022, 2022,
[47]   A Microservices-Based Social Data Analytics Platform Over DC/OS [J].
Hsu, Ming-Chih ;
Lin, Chi-Yi .
ADVANCES IN NETWORK-BASED INFORMATION SYSTEMS, NBIS-2018, 2019, 22 :673-683
[48]   Demonstration of an Observability Framework for Cloud Native Microservices [J].
Marie-Magdelaine, Nicolas ;
Ahmed, Toufik ;
Astruc-Amato, Gauthier .
2019 IFIP/IEEE SYMPOSIUM ON INTEGRATED NETWORK AND SERVICE MANAGEMENT (IM), 2019, :722-724
[49]   CFEC: An Ultra-Low Latency Microservices-Based In-Network Computing Framework for Information-Centric IoVs [J].
Din, Muhammad Salah Ud ;
Rehman, Muhammad Atif Ur ;
Kim, Byung-Seo .
IEEE TRANSACTIONS ON SERVICES COMPUTING, 2024, 17 (06) :3199-3212
[50]   DataXc: Flexible and efficient communication in microservices-based stream analytics pipelines [J].
Coviello, Giuseppe ;
Rao, Kunal ;
De Vita, Ciro Giuseppe ;
Mellone, Gennaro ;
Chakradhar, Srimat .
2022 IEEE INTL CONF ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, INTL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING, INTL CONF ON CLOUD AND BIG DATA COMPUTING, INTL CONF ON CYBER SCIENCE AND TECHNOLOGY CONGRESS (DASC/PICOM/CBDCOM/CYBERSCITECH), 2022, :71-79