Skip to main content
QUICK REVIEW

[Paper Review] Designing Microservice Systems Using Patterns: An Empirical Study on Quality Trade-Offs

Guilherme Vale, Filipe Figueiredo Correia|arXiv (Cornell University)|Jan 10, 2022
Software System Performance and ReliabilityComputer Science5 citations
TL;DR

This empirical study investigates how industry practitioners perceive the impact of 14 microservice design patterns on seven quality attributes (QAs), using semi-structured interviews with 9 experts. It reveals that while most trade-offs align with documented patterns, novel gains and pains—especially negative perceptions of Gateway Aggregation and strong approval for Compute Resource Consolidation—suggest gaps in current pattern documentation, offering practical insights for architects and researchers.

ABSTRACT

The promise of increased agility, autonomy, scalability, and reusability has made the microservices architecture a extit{de facto} standard for the development of large-scale and cloud-native commercial applications. Software patterns are an important design tool, and often they are selected and combined with the goal of obtaining a set of desired quality attributes. However, from a research standpoint, many patterns have not been widely validated against industry practice, making them not much more than interesting theories. To address this, we investigated how practitioners perceive the impact of 14 patterns on 7 quality attributes. Hence, we conducted 9 semi-structured interviews to collect industry expertise regarding (1) knowledge and adoption of software patterns, (2) the perceived architectural trade-offs of patterns, and (3) metrics professionals use to measure quality attributes. We found that many of the trade-offs reported in our study matched the documentation of each respective pattern, and identified several gains and pains which have not yet been reported, leading to novel insight about microservice patterns.

Motivation & Objective

  • To understand the rationale behind the adoption of microservice design patterns in industry practice.
  • To investigate how practitioners perceive the trade-offs—both benefits and drawbacks—of specific design patterns on key quality attributes.
  • To explore how professionals measure and evaluate quality attributes in microservices systems, including their use of metrics and tools.
  • To identify gaps in existing pattern documentation by comparing practitioner perceptions with official descriptions.

Proposed method

  • Conducted 9 semi-structured, face-to-face interviews with experienced microservices architects and engineers from industry.
  • Selected 14 design patterns from Microsoft’s Azure Architecture Center (AAC) Cloud Design Patterns, focusing on the 'design and implementation' category.
  • Used a structured interview guide to explore practitioners’ knowledge, pattern adoption rationale, perceived trade-offs, and quality measurement practices.
  • Analyzed interview transcripts using thematic analysis to identify recurring perceptions, gains, pains, and discrepancies with official pattern documentation.
  • Cross-referenced practitioner perceptions with official pattern descriptions to assess accuracy and completeness of existing literature.
  • Focused on 7 quality attributes: scalability, performance, maintainability, reliability, security, observability, and deployability.

Experimental results

Research questions

  • RQ1RQ1: What is the rationale for the adoption of patterns in microservices systems, and how aware are practitioners of the problems these patterns solve?
  • RQ2RQ2: How are quality attributes influenced by the application of microservice design patterns, and what trade-offs (gains and pains) do practitioners perceive?
  • RQ3RQ3: How do practitioners measure quality attributes in microservices, and what metrics, tools, or techniques do they use?

Key findings

  • Practitioners are generally aware of the problems addressed by design patterns but often lack the formal terminology to recognize them as such, indicating a gap in pattern literacy.
  • The perceived trade-offs of most patterns align closely with their official documentation, validating the reliability of current pattern descriptions.
  • Gateway Aggregation was perceived very negatively by all participants who had used it, suggesting that its documented benefits may not outweigh its complexity and maintenance costs.
  • Compute Resource Consolidation was viewed as highly beneficial with no reported significant drawbacks, indicating strong practitioner endorsement.
  • Only a few quality attribute terms—such as scalability, performance, and maintainability—were commonly used; practitioners often discussed techniques and tools rather than abstract quality metrics.
  • Several novel gains and pains not previously documented were reported, implying that current pattern knowledge may be incomplete or inaccurate in some cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.