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 条
  • [41] Capacity planning of a microservices-based image classification application using analytic modeling
    Zahra Zafarzade
    Ehsan Ataie
    Computing, 2025, 107 (5)
  • [42] DataXc: Flexible and efficient communication in microservices-based stream analytics pipelines
    Coviello, Giuseppe
    Rao, Kunal
    De Vita, Ciro Giuseppe
    Mellone, Gennaro
    Chakradhar, Srimat
    2022 IEEE INTL CONF ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, INTL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING, INTL CONF ON CLOUD AND BIG DATA COMPUTING, INTL CONF ON CYBER SCIENCE AND TECHNOLOGY CONGRESS (DASC/PICOM/CBDCOM/CYBERSCITECH), 2022, : 71 - 79
  • [43] Actual Use of Architectural Patterns in Microservices-based Open Source Projects
    Marquez, Gaston
    Astudillo, Hernan
    2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 31 - 40
  • [44] An Agile Approach for Managing Microservices-Based Software Development: Case Study in FinTech
    Vu H A Nguyen
    INFORMATION SYSTEMS (EMCIS 2021), 2022, 437 : 723 - 736
  • [45] Design and Implementation of an Agile Microservices-Based Intelligent Surveillance Platform with Kubernetes
    Yang, Chun-Hao
    Fung, Hei Man
    Tsai, Meng-Hsun
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 1416 - 1421
  • [46] Microservices-based student support framework (MicSSF) to enhance equity in education
    Shaiba, Hadil
    Hadjouni, Myriam
    John, Maya
    COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2023, 31 (04) : 884 - 899
  • [47] Intelligent Agent support for Topology Learning in microservices-based SDN Controller
    Scotece, Domenico
    Tshakwanda, Petro Mushidi
    Arzo, Sisay Tadesse
    Cavallari, Riccardo
    Foschini, Luca
    Devetsikiotis, Michael
    ICC 2024 - IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2024, : 165 - 170
  • [48] A Microservices Orchestration Library based on PHP and RESTful API
    Lee, Wen-Tin
    Wu, Meng-Hsien
    Liu, Zhun-Wei
    Lee, Shin-Jie
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2022, 38 (06) : 1133 - 1147
  • [49] Implementing a PHP API Gateway Based on Microservices Architecture
    Lee, Wen-Tin
    Tsai, Ming-Kai
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 1578 - 1579
  • [50] Provisioning big data applications as services on containerised cloud: a microservices-based approach
    Gao Jing
    Li Wubin
    Zhao Zhuofeng
    Han Yanbo
    INTERNATIONAL JOURNAL OF SERVICES TECHNOLOGY AND MANAGEMENT, 2020, 26 (2-3) : 167 - 181