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 条
  • [21] A Dataset of Microservices-based Open-Source Projects
    d'Aragona, Dario Amoroso
    Bakhtin, Alexander
    Li, Xiaozhou
    Su, Ruoyu
    Adams, Lauren
    Aponte, Ernesto
    Boyle, Francis
    Boyle, Patrick
    Koerner, Rachel
    Lee, Joseph
    Tian, Fangchao
    Wang, Yuqing
    Nyyssola, Jesse
    Quevedo, Ernesto
    Rahaman, Shahidur Md
    Abdelfattah, Amr S.
    Mantyla, Mika
    Cerny, Tomas
    Taibi, Davide
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 504 - 509
  • [22] Security Assessments for Microservices-Based Aviation Automation Systems
    Roy, Sandip
    AIAA AVIATION FORUM AND ASCEND 2024, 2024,
  • [23] Security-as-a-Service for Microservices-Based Cloud Applications
    Sun, Yuqiong
    Nanda, Susanta
    Jaeger, Trent
    2015 IEEE 7TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE (CLOUDCOM), 2015, : 50 - 57
  • [24] A performance modeling framework for microservices-based cloud infrastructures
    Thiago Felipe da Silva Pinheiro
    Paulo Pereira
    Bruno Silva
    Paulo Maciel
    The Journal of Supercomputing, 2023, 79 : 7762 - 7803
  • [25] Student Research Abstract: Microservices-based Systems Visualization
    Abdelfattah, Amr S.
    37TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2022, : 1460 - 1463
  • [26] Reliability-Aware Proactive Placement of Microservices-Based IoT Applications in Fog Computing Environments
    Pallewatta, Samodha
    Kostakos, Vassilis
    Buyya, Rajkumar
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2024, 23 (12) : 11326 - 11341
  • [27] 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
  • [28] AmIoT: A Microservices-based IoT Platform to Orchestrate AmI Environments
    Pitatzis, Savvas
    Drosos, Nicolas
    Goumopoulos, Christos
    Kameas, Achilles
    PROCEEDINGS OF THE 2020 16TH INTERNATIONAL CONFERENCE ON INTELLIGENT ENVIRONMENTS (IE), 2020, : 21 - 28
  • [29] 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
  • [30] BizDevOps Support for Business Process Microservices-Based Applications
    Delgado, Andrea
    Garcia, Felix
    Ruiz, Francisco
    SERVICE-ORIENTED COMPUTING - ICSOC 2022 WORKSHOPS, 2023, 13821 : 274 - 286