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 条
  • [41] Interaction Prediction and Anomaly Detection in a Microservices-based Telecommunication Platform
    Aktas, Kemal
    Kilinc, H. Hakan
    PROCEEDINGS OF THE 2024 INTERNATIONAL CONFERENCE ON SOFTWARE AND SYSTEMS PROCESSES, ICSSP 2024, 2024, : 56 - 65
  • [42] Softwarized and containerized microservices-based network management analysis with MSN
    Arzo, Sisay Tadesse
    Scotece, Domenico
    Bassoli, Riccardo
    Devetsikiotis, Michael
    Foschini, Luca
    Fitzek, Frank H. P.
    COMPUTER NETWORKS, 2024, 254
  • [43] Communication Aware Scheduling of Microservices-based Applications on Kubernetes Clusters
    Marchese, Angelo
    Tomarchio, Orazio
    PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND SERVICES SCIENCE (CLOSER), 2022, : 190 - 198
  • [44] WDIAS: A Microservices-Based Weather Data Integration and Assimilation System
    Karunarathne, H. M. Gihan Chanuka
    Bandara, H. M. N. Dilum
    Herath, Srikantha
    MERCON 2020: 6TH INTERNATIONAL MULTIDISCIPLINARY MORATUWA ENGINEERING RESEARCH CONFERENCE (MERCON), 2020, : 289 - 294
  • [45] Cognitive complexity points: a metric to evaluate the design of microservices-based applications
    Vera-Rivera, Fredy H.
    INGENIERIA Y COMPETITIVIDAD, 2024, 26 (01):
  • [46] A Microservices-based IoT Monitoring System to improve the Safety in Public Buildings
    Mongiello, Marina
    Patrono, Luigi
    Nocera, Francesco
    Parchitelli, Angelo
    Riccardi, Luca
    Sergi, Ilaria
    Rametta, Piercosimo
    Avena, Leonardo
    2018 3RD INTERNATIONAL CONFERENCE ON SMART AND SUSTAINABLE TECHNOLOGIES (SPLITECH), 2018, : 135 - 140
  • [47] Evaluating Frameworks Assemblies In Microservices-based Systems Using Imperfect Information
    Marquez, Gaston
    Lazo, Yoslandy
    Astudillo, Hernan
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2020), 2020, : 250 - 257
  • [48] Joint Optimization of Throughput and Energy Consumption in Microservices-Based UAV Networks
    Gomez-delaHiz, Jose
    Fakhreddine, Aymen
    Murillo, Juan M.
    Galan-Jimenez, Jaime
    IEEE INFOCOM 2024-IEEE CONFERENCE ON COMPUTER COMMUNICATIONS WORKSHOPS, INFOCOM WKSHPS 2024, 2024,
  • [49] Microservices-based DevSecOps Platform using Pipeline and Open Source Software
    Lee, Wen-tin
    Liu, Zhun-wei
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2023, 39 (05) : 1117 - 1128
  • [50] A Microservices-based Framework for Scalable Data Analysis in Agriculture with IoT Integration
    Aitlmoudden O.
    Housni M.
    Safeh N.
    Namir A.
    International Journal of Interactive Mobile Technologies, 2023, 17 (19) : 147 - 156