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 条
  • [1] A performance modeling framework for microservices-based cloud infrastructures
    Pinheiro, Thiago Felipe da silva
    Pereira, Paulo
    Silva, Bruno
    Maciel, Paulo
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (07): : 7762 - 7803
  • [2] Cloud Elasticity of Microservices-Based Applications: A Survey
    Fourati, Mohamed Hedi
    Marzouk, Soumaya
    Jmaiel, Mohamed
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2025, 37 (02):
  • [3] Security-as-a-Service for Microservices-Based Cloud Applications
    Sun, Yuqiong
    Nanda, Susanta
    Jaeger, Trent
    2015 IEEE 7TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE (CLOUDCOM), 2015, : 50 - 57
  • [4] A Microservices-Based Framework for Smart Design and Optimization of PV Installations
    Vinco, Sara
    Pagliari, Daniele Jahier
    Bottaccioli, Lorenzo
    Patti, Edoardo
    Macii, Enrico
    Poncino, Massimo
    IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, 2021, 6 (04): : 531 - 543
  • [5] Orchestrating Microservices-Based Applications in the Cloud-to-Edge Continuum
    Marchese, Angelo
    Tomarchio, Orazio
    CLOUD COMPUTING AND SERVICES SCIENCE, CLOSER 2022, CLOSER 2023, 2024, 1845 : 170 - 187
  • [6] Microservices-based Approach for a Collaborative Business Process Management Cloud Platform
    Cocconi, Diego
    Villarreal, Pablo
    2020 XLVI LATIN AMERICAN COMPUTING CONFERENCE (CLEI 2020), 2021, : 128 - 137
  • [7] Performance Evaluation of the Virtualization Environment of a Microservices-Based Payroll System
    Castro, Klayton
    Martins, Lucas M. C. E.
    Wercelens, Polyane
    Padilha, Rafael
    Gervasion, Italo
    de Deus, Flavin E. G.
    Giozza, William F.
    de Sousa, Rafael T.
    2020 15TH IBERIAN CONFERENCE ON INFORMATION SYSTEMS AND TECHNOLOGIES (CISTI'2020), 2020,
  • [8] A Microservices-based Framework for Scalable Data Analysis in Agriculture with IoT Integration
    Aitlmoudden O.
    Housni M.
    Safeh N.
    Namir A.
    International Journal of Interactive Mobile Technologies, 2023, 17 (19) : 147 - 156
  • [9] MSN: A Playground Framework for Design and Evaluation of MicroServices-Based sdN Controller
    Arzo, Sisay Tadesse
    Scotece, Domenico
    Bassoli, Riccardo
    Barattini, Daniel
    Granelli, Fabrizio
    Foschini, Luca
    Fitzek, Frank H. P.
    JOURNAL OF NETWORK AND SYSTEMS MANAGEMENT, 2022, 30 (01)
  • [10] PolyGlot Persistence for Microservices-Based Applications
    Singhal, Harshul
    Saxena, Arpit
    Mittal, Nitesh
    Dabas, Chetna
    Kaur, Parmeet
    INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGIES AND SYSTEMS APPROACH, 2021, 14 (01) : 17 - 32