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 条
  • [31] From the decorator pattern to circuit breakers in microservices
    Montesi, Fabrizio
    Weber, Janine
    33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, : 1733 - 1735
  • [32] Performance bounds for stochastic timed Petri nets
    Liu, Z
    APPLICATION AND THEORY OF PETRI NETS 1995, 1995, 935 : 316 - 334
  • [33] PERFORMANCE MODELING OF A FAULT-TOLERANT REAL-TIME MULTIPROCESSOR USING STOCHASTIC PETRI NETS
    NARAHARI, Y
    VISWANADHAM, N
    SADHANA-ACADEMY PROCEEDINGS IN ENGINEERING SCIENCES, 1987, 11 : 187 - 208
  • [34] Performance Analysis of Wireless Opportunistic Schedulers using Stochastic Petri Nets
    Lei, Lei
    Lin, Chuang
    Cai, Jun
    Shen, Xuemin
    IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2009, 8 (04) : 2076 - 2087
  • [35] Performance Analysis of Manufacturing Systems Using Deterministic and Stochastic Petri Nets
    Haleh, Hassan
    Bahari, Arman
    Moody, Behnoosh
    JOURNAL OF MATHEMATICS AND COMPUTER SCIENCE-JMCS, 2014, 11 (01): : 1 - 12
  • [36] Performance analysis of adaptive video on demand using stochastic Petri nets
    Penttinen, OM
    Pyssysalo, T
    Ojala, L
    THIRTIETH HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, VOL 5: ADVANCED TECHNOLOGY, 1997, : 119 - 124
  • [37] Mobile Edge Computing Performance Evaluation using Stochastic Petri Nets
    Carvalho, Daniel
    Rodrigues, Laecio
    Endo, Patricia Takako
    Kosta, Sokol
    Silva, Francisco Airton
    2020 IEEE SYMPOSIUM ON COMPUTERS AND COMMUNICATIONS (ISCC), 2020, : 115 - 120
  • [38] Modeling High Performance Music Computing using Petri Nets
    Roy, Samarjit
    Bhakta, Pradipta
    De, Debashis
    Chakrabarty, Sudipta
    2014 INTERNATIONAL CONFERENCE ON CONTROL, INSTRUMENTATION, ENERGY & COMMUNICATION (CIEC), 2014, : 678 - 682
  • [39] Performance Analysis of Apache Storm Applications using Stochastic Petri Nets
    Requeno, J. I.
    Merseguer, J.
    Bernardi, S.
    2017 IEEE 18TH INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION (IEEE IRI 2017), 2017, : 411 - 418
  • [40] Performance analysis of SyncML server system using stochastic petri nets
    Lee, BY
    Lee, BY
    Lee, GH
    Choi, H
    ETRI JOURNAL, 2004, 26 (04) : 360 - 366