Performance Modeling of Microservices with Circuit Breakers using Stochastic Petri Nets

被引:0
|
作者
Pinheiro, Thiago [1 ]
Mialaret, Marco [1 ]
Pereira, Paulo [2 ]
Lins, Luan [1 ]
Silva, Daliton [1 ]
Dantas, Jamilson [1 ]
Maciel, Paulo [1 ]
机构
[1] Fed Univ Pernambuco UFPE, Informat Ctr, Recife, PE, Brazil
[2] Inst Fed Educ Ciencia & Tecnol Paraiba, Itaporanga, Brazil
关键词
Microservices; Circuit Breakers; Performance Modeling; Stochastic Petri Nets;
D O I
10.1109/SysCon61195.2024.10553490
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Circuit Breakers (CBs) are critical for containerized microservices infrastructures when managing a surge in workload, as they can serve as a protection mechanism to prevent system overload and meet service level agreements (SLAs). In the event of a sudden increase in workload, microservices (MSs) can face challenges such as resource exhaustion and many discarded requests. CBs can help mitigate these issues by monitoring the services and, if necessary, redirecting the flow of requests to another infrastructure. However, it is difficult to evaluate the behavior of these infrastructures and CB mechanisms in a production environment. To address the above issues, this paper proposes a model using stochastic Petri nets (SPNs) to represent these infrastructures and their auto-scaling mechanisms, the MSs, the CBs, the incoming external arrival rate, and the workload generated between the MSs. Service providers can estimate metrics including circuit breaker activation (CBA), overload forwarding rate (OFR), containers utilization (Uc), unallocated containers (NUc), throughput (TP), discard probability (DP), and discard rate (DR). The model enables the performance evaluation of individual MSs and the entire microservice platform (MP). The work investigates how the microservices adapt to changing conditions and the trade-offs associated with different CB configurations. Using a real testbed, our solution was validated with a confidence interval (CI) of 95%. A case study was used to investigate the feasibility of the solution by evaluating its application in a real-world scenario. We found that the CBs reduced DR by 71.4% on average. This corresponds to an average number of 75,454 requests over 1 hour that were not discarded but forwarded to another infrastructure.
引用
收藏
页数:8
相关论文
共 50 条
  • [1] PERFORMANCE ANALYSIS USING STOCHASTIC PETRI NETS
    MOLLOY, MK
    IEEE TRANSACTIONS ON COMPUTERS, 1982, 31 (09) : 913 - 917
  • [2] Modeling and Performance Analysis of User Behavior Authentication using Stochastic Petri Nets
    Chen Ya-rui
    Tian Li-qin
    2012 INTERNATIONAL CONFERENCE ON INDUSTRIAL CONTROL AND ELECTRONICS ENGINEERING (ICICEE), 2012, : 1421 - 1425
  • [3] Stochastic petri nets modeling using SPN@
    Volovoi, Vitali
    2006 Proceedings - Annual Reliability and Maintainability Symposium, Vols 1 and 2, 2006, : 75 - 81
  • [4] Performance Modeling Using Queueing Petri Nets
    Rak, Tomasz
    COMPUTER NETWORKS (CN 2017), 2017, 718 : 321 - 335
  • [5] Performance evaluation of a blackboard using Stochastic Petri Nets
    DeBosschere, K
    Almhana, J
    SIMULATION, 1995, 65 (04) : 269 - 278
  • [6] Modeling and performance evaluation of supply chains using batch deterministic and stochastic Petri nets
    Chen, HX
    Amodeo, L
    Chu, F
    Labadi, K
    IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, 2005, 2 (02) : 132 - 144
  • [7] Modeling and performance evaluation of inventory systems using batch deterministic and stochastic Petri nets
    Labadi, Karim
    Chen, Haoxun
    Amodeo, Lionel
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART C-APPLICATIONS AND REVIEWS, 2007, 37 (06): : 1287 - 1302
  • [8] Modeling membrane systems using colored stochastic Petri nets
    Liu, Fei
    Heiner, Monika
    NATURAL COMPUTING, 2013, 12 (04) : 617 - 629
  • [9] Modeling membrane systems using colored stochastic Petri nets
    Fei Liu
    Monika Heiner
    Natural Computing, 2013, 12 : 617 - 629
  • [10] Modeling and Analysis of a Telesurgery Environment Using Stochastic Petri Nets
    Rocha Jr, Vamberto
    Araujo, Jean
    Nogueira, Bruno
    Andrade, Ermeson
    IEEE LATIN AMERICA TRANSACTIONS, 2023, 21 (10) : 1073 - 1080