Performance modeling and analysis of design patterns for microservice systems

Riccardo Pinciroli, Aldeida Aleti, Catia Trubiani

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

The adoption of design patterns in the microservice architecture and cloud-native development scope was recently reviewed to investigate the industry practice. Interestingly, when considering performance-related aspects, practitioners focus on specific metrics (e.g., the time taken to handle requests) to identify sources of performance hindrance. This paper investigates a subset of seven design patterns that industrial practitioners indicate as relevant for system performance. We are interested to quantify the impact of these patterns while considering heterogeneous workloads, thus supporting software architects in understanding the root causes of performance issues. We use queuing networks to build the performance models of the seven design patterns and extract quantitative insights from model-based performance analysis. Our performance models are flexible in their input parameterization and reusable in different application contexts. We find that most design patterns confirm the expectation of practitioners, and our experimental results assess the identified performance gains and pains. One design pattern (i.e., Gateway Offloading) shows the peculiar characteristic of contributing to performance pains in some cases, leading to novel insights about the impact of design patterns in microservice systems.

Original languageEnglish
Title of host publicationProceedings - IEEE 20th International Conference on Software Architecture, ICSA 2023
EditorsMaryam Razavian, Juergen Musil
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages35-46
Number of pages12
ISBN (Electronic)9798350397499
ISBN (Print)9798350397505
DOIs
Publication statusPublished - 2023
EventIEEE International Conference on Software Architecture 2023 - L�Aquila, Italy
Duration: 13 Mar 202317 Mar 2023
Conference number: 20th
https://ieeexplore.ieee.org/xpl/conhome/10092531/proceeding (Proceedings)
https://icsa-conferences.org/2023/ (Website)

Conference

ConferenceIEEE International Conference on Software Architecture 2023
Abbreviated titleICSA 2023
Country/TerritoryItaly
CityL�Aquila
Period13/03/2317/03/23
Internet address

Keywords

  • Design Patterns
  • Microservices
  • Model-based Performance Analysis
  • Software Architecture

Cite this