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
关键词
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 条
  • [31] MAIA: A Microservices-based Architecture for Industrial Data Analytics
    Hai Dinh-Tuan
    Eierle, Felix B.
    Garzon, Sandro Rodriguez
    2019 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL CYBER PHYSICAL SYSTEMS (ICPS 2019), 2019, : 23 - 30
  • [32] 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,
  • [33] 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
  • [34] 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
  • [35] 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)
  • [36] The Computing Fleet: Managing Microservices-based Applications on the Computing Continuum
    Roman, Dumitru
    Song, Hui
    Loupos, Konstantinos
    Krousarlis, Thomas
    Soylu, Ahmet
    Skarmeta, Antonio F.
    2022 IEEE 19TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2022), 2022, : 40 - 44
  • [37] Security Mechanisms Used in Microservices-Based Systems: A Systematic Mapping
    Pereira-Vale, Anelis
    Marquez, Gaston
    Astudillo, Hernan
    Fernandez, Eduardo B.
    2019 XLV LATIN AMERICAN COMPUTING CONFERENCE (CLEI 2019), 2019,
  • [38] Design of a Joint Microservices-based Smart Epidemic Prevention Platform
    Zhang, Liang
    2021 INTERNATIONAL CONFERENCE ON CYBER-PHYSICAL SOCIAL INTELLIGENCE (ICCSI), 2021,
  • [39] A Microservices-Based Approach to Designing an Intelligent Railway Control System Architecture
    Atanasov, Ivaylo
    Vatakov, Vasil
    Pencheva, Evelina
    SYMMETRY-BASEL, 2023, 15 (08):
  • [40] 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