Info: Zenodo’s user support line is staffed on regular business days between Dec 23 and Jan 5. Response times may be slightly longer than normal.

Published June 1, 2023 | Version v3
Conference paper Open

Combining API Patterns in Microservice Architectures: Performance and Reliability Analysis

  • 1. UniVie Doctoral School Computer Science DoCS, University of Vienna, Währinger Straße 29, 1090, Vienna, Austria
  • 2. Research Group Software Architecture, Faculty of Computer Science, University of Vienna, Währinger Straße 29, 1090, Vienna, Austria

Description

There are many challenges in maintaining the desired quality of service levels in modern microservice and cloud applications. Numerous techniques and patterns, such as API Rate Limit, Load Balancing, and Request Bundle, have been suggested for API services and clients to improve quality properties related to performance and reliability. However, no study has measured the impact of these techniques and their combinations in a specific configuration, especially using a large distributed system workload setting. This paper experimentally studies the effects of combining the API Rate Limit, Load Balancing, and Request Bundle patterns based on a realistic, third-party microservice-based application deployed in a private cloud and on the Amazon Web Services cloud (AWS) using 130 different configurations. We have run each configuration 500 times in the private cloud, totaling more than 4500 hours of runtime, and 200 times on AWS, totaling more than 3900 hours of runtime. We developed regression models from the collected data to predict the performance and reliability impacts of combining such techniques and patterns. We found that the models provide acceptable prediction errors below 30% on the private cloud and AWS. Further, we found that the models work best in highly reliable environments like AWS. In addition to the concrete analyses provided in our work, we propose a general and largely automated method that can be followed iteratively to evaluate similar techniques and patterns for their quality properties.

Files

icws.pdf

Files (709.4 kB)

Name Size Download all
md5:7c8a3beb8ea2ebf005e098ac63212034
709.4 kB Preview Download

Additional details

Funding

Analytics-centric Continuous Design of Microservice APIs I 4268
FWF Austrian Science Fund