Impact of API Rate Limit on Reliability of Microservices-Based Architectures

被引:2
|
作者
El Malki, Amine [1 ]
Zdun, Uwe [1 ]
Pautasso, Cesare [2 ]
机构
[1] Univ Vienna, Fac Comp Sci, Res Grp Software Architecture, A-1090 Vienna, Austria
[2] Univ Lugano, Fac Informat, Software Inst, Lugano, Switzerland
来源
2022 16TH IEEE INTERNATIONAL CONFERENCE ON SERVICE-ORIENTED SYSTEM ENGINEERING (SOSE 2022) | 2022年
关键词
API Rate Limit; Microservices; Cloud; Reliability; Modeling;
D O I
10.1109/SOSE55356.2022.00009
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Many API patterns and best practices have been developed around microservices-based architectures, such as Rate Limiting and Circuit Breaking, to increase quality properties such as reliability, availability, scalability, and performance. Even though estimates on such properties would be beneficial, especially during the early design of such architectures, the real impact of the patterns on these properties has not been rigorously studied yet. This paper focuses on API Rate Limit and its impact on reliability properties from the perspective of API clients. We present an analytical model that considers specific workload configurations and predefined rate limits and then accurately predicts the success and failure rates of the back-end services. The model also presents a method for adaptively fine-tuning rate limits. We performed two extensive data experiments to validate the model and measured Rate Limiting impacts, firstly on a private cloud to minimize latency and other biases, and secondly on the Google Cloud Platform to test our model in a realistic cloud environment. In both experiments, we observed a low percentage of prediction errors. Thus, we conclude that our model can provide distributed system engineers and architects with insights into an acceptable value for the rate limits to choose for a given workload. Very few works empirically studied the impact of Rate Limit or similar API-related patterns on reliability.
引用
收藏
页码:19 / 28
页数:10
相关论文
共 50 条
  • [21] Design of a microservices-based architecture for residential energy efficiency monitoring
    Nunez, Ivonne
    Rovetto, Carlos
    Cruz, Edmanuel
    Smolarz, Andrzej
    Concepcion, Dimas
    Cano, Elia Esther
    INTERNATIONAL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS, 2024, 70 (04) : 1089 - 1098
  • [22] A Review of Container level Autoscaling for Microservices-based Applications
    Fourati, Mohamed Hedi
    Marzouk, Soumaya
    Jmaiel, Mohamed
    2021 IEEE 30TH INTERNATIONAL CONFERENCE ON ENABLING TECHNOLOGIES: INFRASTRUCTURE FOR COLLABORATIVE ENTERPRISES (WETICE 2021), 2021, : 17 - 22
  • [23] BizDevOps Support for Business Process Microservices-Based Applications
    Delgado, Andrea
    Garcia, Felix
    Ruiz, Francisco
    SERVICE-ORIENTED COMPUTING - ICSOC 2022 WORKSHOPS, 2023, 13821 : 274 - 286
  • [24] 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,
  • [25] A Microservices-Based Control Plane for Time-Sensitive Networking
    Agusti-Torra, Anna
    Ferre-Mancebo, Marc
    Orozco-Urrutia, Gabriel David
    Rincon-Rivera, David
    Remondo, David
    FUTURE INTERNET, 2024, 16 (04)
  • [26] MI-OPJ: A Microservices-based Online Programming Judge
    Nerantzis, Orestis Rafail
    Tselios, Apostolos
    Karakasidis, Alexandros
    2021 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2021, : 5969 - 5971
  • [27] 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
  • [28] EPMA: Elastic Platform for Microservices-based Applications: Towards Optimal Resource Elasticity
    Fourati, Mohamed Hedi
    Marzouk, Soumaya
    Jmaiel, Mohamed
    JOURNAL OF GRID COMPUTING, 2022, 20 (01)
  • [29] A Microservices-Based Approach to Designing an Intelligent Railway Control System Architecture
    Atanasov, Ivaylo
    Vatakov, Vasil
    Pencheva, Evelina
    SYMMETRY-BASEL, 2023, 15 (08):
  • [30] Design of a Joint Microservices-based Smart Epidemic Prevention Platform
    Zhang, Liang
    2021 INTERNATIONAL CONFERENCE ON CYBER-PHYSICAL SOCIAL INTELLIGENCE (ICCSI), 2021,