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 条
  • [21] Modeling of Medical Care with Stochastic Petri Nets
    Leite, Cicilia R. M.
    Martin, Daniel L.
    Sizilio, Glaucia R. M. A.
    dos Santos, Keylly E. A.
    de Araujo, Bruno G.
    Valentim, Ricardo A. de M.
    Neto, Adriao D. D.
    de Melo, Jorge D.
    Guerreiro, Ana M. G.
    2010 ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY (EMBC), 2010, : 1336 - 1339
  • [22] Modeling and survivability analysis of service composition using Stochastic Petri Nets
    Wang, Yuanzhuo
    Lin, Chuang
    Ungsunan, Peter D.
    Huang, Xiaomeng
    JOURNAL OF SUPERCOMPUTING, 2011, 56 (01): : 79 - 105
  • [23] Modeling multiphased missions using stochastic Petri nets with aging tokens
    Volovoi, V
    ANNUAL RELIABILITY AND MAINTAINABILITY SYMPOSIUM, 2004 PROCEEDINGS, 2004, : 232 - 236
  • [24] Discrete-continuous modeling using Hybrid Stochastic Petri Nets
    Horton, G
    Kowarschik, M
    SIMULATION IN INDUSTRY'99: 11TH EUROPEAN SIMULATION SYMPOSIUM 1999, 1999, : 687 - 694
  • [25] Modeling and survivability analysis of service composition using Stochastic Petri Nets
    Yuanzhuo Wang
    Chuang Lin
    Peter D. Ungsunan
    Xiaomeng Huang
    The Journal of Supercomputing, 2011, 56 : 79 - 105
  • [26] COLORED GENERALIZED STOCHASTIC PETRI NETS FOR INTEGRATED SYSTEMS PROTOCOL PERFORMANCE MODELING
    LI, M
    GEORGANAS, ND
    COMPUTER COMMUNICATIONS, 1990, 13 (07) : 414 - 424
  • [27] Application of deterministic and stochastic Petri-Nets for performance modeling of NoC architectures
    Blume, H.
    von Sydow, T.
    Becker, D.
    Noll, T. G.
    JOURNAL OF SYSTEMS ARCHITECTURE, 2007, 53 (08) : 466 - 476
  • [28] Modeling and Analysis of IS-IS Protocolrouting Performance Based on The Generalized Stochastic Petri Nets
    Liu, Z. L.
    Guo, M. Y.
    Lan, T.
    Chai, Y.
    Qu, J. F.
    Qi, F.
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON ELECTRICAL, AUTOMATION AND MECHANICAL ENGINEERING (EAME 2015), 2015, 13 : 601 - 605
  • [29] Modeling and Performance Analysis of Flow Lines with Stochastic Failures Based on Petri Nets
    Liu, Chang
    Shi, Haibo
    Yuan, Jie
    2008 7TH WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION, VOLS 1-23, 2008, : 6439 - +
  • [30] Modeling and performance evaluation of sypply chain with batch deterministic and stochastic Petri nets
    Chen, H
    Amodeo, L
    Chu, F
    SIMULATION IN INDUSTRY 2001, 2001, : 415 - 419