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 条
  • [1] The Roles, Responsibilities, and Skills of Engineers in the Era of Microservices-Based Architectures
    Ayas, Hamdy Michael
    Hebig, Regina
    Leitner, Philipp
    [J]. PROCEEDINGS 2024 IEEE/ACM 17TH INTERNATIONAL CONFERENCE ON COOPERATIVE AND HUMAN ASPECTS OF SOFTWARE ENGINEERING, CHASE 2024, 2024, : 13 - 23
  • [2] An empirical investigation on the competences and roles of practitioners in Microservices-based Architectures
    Ayas, Hamdy Michael
    Hebig, Regina
    Leitner, Philipp
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 213
  • [3] Guidelines for Adopting Frontend Architectures and Patterns in Microservices-Based Systems
    Harms, Holger
    Rogowski, Collin
    Lo Iacono, Luigi
    [J]. ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 902 - 907
  • [4] PolyGlot Persistence for Microservices-Based Applications
    Singhal, Harshul
    Saxena, Arpit
    Mittal, Nitesh
    Dabas, Chetna
    Kaur, Parmeet
    [J]. INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGIES AND SYSTEMS APPROACH, 2021, 14 (01) : 17 - 32
  • [5] Microservices-Based Software Architecture and Approaches
    Bakshi, Kapil
    [J]. 2017 IEEE AEROSPACE CONFERENCE, 2017,
  • [6] An Microservices-Based Openstack Monitoring Tool
    Yang, Meixia
    Huang, Ming
    [J]. PROCEEDINGS OF 2019 IEEE 10TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS 2019), 2019, : 706 - 709
  • [7] An Microservices-Based OpenStack Monitoring System
    Wang, Hongbin
    Zhang, Xiaoxu
    Ma, Zhiqiang
    Li, Leixiao
    Gao, Jing
    [J]. 2022 11TH INTERNATIONAL CONFERENCE ON EDUCATIONAL AND INFORMATION TECHNOLOGY (ICEIT 2022), 2022, : 232 - 236
  • [8] Towards a Fault Taxonomy for Microservices-Based Applications
    Filho, Francisco Gutenberg S.
    Lelli, Valeria
    Santos, Ismayle de Sousa
    Andrade, Rossana M. C.
    [J]. 36TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2022, 2022, : 247 - 256
  • [9] The Aspect of Resilience in Microservices-Based Software Design
    Giedrimas, Vaidas
    Omanovic, Samir
    Alic, Dino
    [J]. SOFTWARE TECHNOLOGIES: APPLICATIONS AND FOUNDATIONS, 2018, 11176 : 589 - 595
  • [10] A Comparative Study of Microservices-based IoT Platforms
    El Khalyly, Badr
    Belangour, Abdessamad
    Banane, Mouad
    Erraissi, Allae
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2020, 11 (08) : 389 - 398