On the Nature of Issues in Five Open Source Microservices Systems: An Empirical Study

Muhammad Waseem, Peng Liang, Mojtaba Shahin, Aakash Ahmad, Ali Rezaei Nasab

Introduction

Microservices architectures (MSA) have become the industry standard for building scalable, independently deployable systems. However, this shift introduces a "complexity tax" involving distributed data, network dependencies, and polyglot tech stacks. While the challenges are widely acknowledged, empirical evidence regarding the specific types of issues developers encounter has been largely anecdotal. This study addresses this gap by providing a systematic, evidence-based map of the bugs and hurdles faced by developers in MSA environments.

Methodology

The researchers employed a multi-phase qualitative approach to ensure the validity of their findings:

  1. Project Selection: A keyword search of over 2,600 GitHub repositories was conducted, filtering for popularity and activity. To ensure architectural accuracy, the authors contacted core contributors to confirm the projects utilized microservices.
  2. Data Extraction: 2,942 closed issues were manually reviewed. General questions and feature requests were excluded, leaving 1,345 "real" problems for analysis.
  3. Thematic Analysis: An iterative coding process was used to categorize issues and their root causes into a hierarchical taxonomy, involving data familiarization, initial code generation, and category definition.

Dataset Analysis

The study focused on five diverse open-source microservices systems, ranging from frameworks to reference applications. These projects represent different languages and use cases, providing a broad view of the MSA landscape.

Table 1: Characteristics of the five open-source microservices projects analyzed in the study.

The analyzed projects include:

  • goa: A Go-based microservices framework.
  • eShopOnContainers: A .NET reference application.
  • light-4j: A lightweight Java framework.
  • Moleculer: A Node.js framework.
  • Microservices-demo: A polyglot "Socks Shop" reference application.

A Taxonomy of Microservices Issues

The primary contribution of this research is a comprehensive taxonomy consisting of 17 categories, 46 subcategories, and 138 specific issue types. This classification helps researchers and practitioners understand the landscape of MSA failures.

Figure 1: The hierarchical taxonomy of issues identified in MSA-based systems, showing the distribution of categories.

Key Findings

  • Technical Debt (TD): Dominating the results at 23.86% (321 issues), TD is the most frequent pain point. This includes "Service Design Debt," such as "Wrong Cuts"—splitting services by technical layers rather than business capabilities—and improper dependency management.
  • Build Bottlenecks: Build issues accounted for 10.78% of the dataset. In MSA, builds are complicated by Docker configurations, Kubernetes orchestration, and cross-service dependency resolution.
  • Security as Communication: Security issues (10.18%) often stemmed from service interactions, such as JWT token failures and SSL connection hurdles within containerized environments.
  • The "Standard Error" Cascade: Surprisingly, the most common root cause for high-level architectural failures was "General Programming Errors" (GPE). In a distributed environment, simple logic flaws can cascade into complex system failures that are difficult to trace.

Conclusion and Future Work

While the study provides a robust foundation, it is limited by its focus on five open-source projects and GitHub-based discussions, which may miss "silent" issues or proprietary scale challenges. Future work will involve validating this taxonomy through industrial surveys and investigating the difficulty and priority of these issues to assist developers in effective triage.

Summary updated

BibTeX
@inproceedings{waseem2021nature,
  author = {Muhammad Waseem and Peng Liang and Mojtaba Shahin and Aakash Ahmad and Ali Rezaei Nasab},
  title = {{On the Nature of Issues in Five Open Source Microservices Systems: An Empirical Study}},
  booktitle = {EASE},
  year = {2021},
  doi = {10.1145/3463274.3463337},
}
Figure