Skip to main content
QUICK REVIEW

[Paper Review] A curated Dataset of Microservices-Based Systems

Mohammad Imranur, Rahman Rahman|arXiv (Cornell University)|Sep 7, 2019
Software System Performance and ReliabilityComputer Science26 citations
TL;DR

This paper presents a curated dataset of 20 open-source microservices-based systems, manually selected from GitHub, to support research on microservice architecture patterns and inter-service dependencies. The authors developed MicroDepGraph, a tool that analyzes Docker configurations and Spring Boot annotations to extract API call dependencies, generating structured GraphML and SVG files for each project, enabling reproducible analysis of service interactions across diverse microservice systems.

ABSTRACT

Microservice architecture is the mainstream to fuel cloud-native systems with small service sets developed and deployed independently. The independent nature of this modular architecture also leads to challenges and gaps practitioners did not face in system monoliths. One of the major challenges with decentralization and its independent microservices that are managed by separate teams is that the evolving system architecture easily deviates far from the original plans, and it becomes difficult to maintain. Literature often refers to this process as system architecture degradation. Especially in the context of microservices, available tools are limited. This article challenges the audience on how static analysis could contribute to microservice system development and management, particularly managing architectural degradation. It elaborates on challenges and needed changes in the traditional code analysis to better fit these systems. Consequently, it discusses implications for practitioners once robust static analysis tools become available.

Motivation & Objective

  • To address the lack of publicly available, curated datasets of open-source microservices projects for research and teaching.
  • To enable systematic analysis of microservice architecture patterns and inter-service dependencies across real-world systems.
  • To provide a reproducible, tool-supported dataset that captures both code size (via SLOCcount) and service interaction graphs (via MicroDepGraph).
  • To support future research in microservice architecture, including pattern detection, quality metrics, and anomaly identification.

Proposed method

  • Selected 20 open-source microservices projects from GitHub using search queries targeting 'micro-service', 'microservice', or 'micro-service' in Java with Dockerfiles.
  • Manually validated each project to exclude libraries, frameworks, and non-microservice systems, ensuring architectural fidelity.
  • Used SLOCcount to extract lines of code (KLOC) per project for size characterization.
  • Developed MicroDepGraph to analyze inter-service dependencies by parsing Spring Boot annotations (e.g., @RestController, @RequestMapping) and Docker configurations.
  • Generated dependency graphs in GraphML and SVG formats using Apache TinkerPop, representing service-to-service calls as directed edges.
  • Published the dataset and tools under a CC BY-NC-SA 4.0 license for public reuse in research and education.

Experimental results

Research questions

  • RQ1What are the most common architectural patterns and dependency structures in real-world open-source microservices systems?
  • RQ2How do service interdependencies vary across different types of microservices projects (e.g., demo vs. industrial)?
  • RQ3To what extent can automated static analysis of code and Docker configurations accurately capture real inter-service communication in microservices?
  • RQ4Can a standardized, publicly available dataset of microservices projects enable reproducible research and cross-project comparison in software architecture studies?

Key findings

  • The dataset comprises 20 real-world microservices projects, with service counts ranging from 5 to 25, and lines of code ranging from ~1K to ~70K KLOC.
  • MicroDepGraph successfully extracted inter-service dependencies by analyzing Spring Boot annotations and Docker configurations, producing accurate dependency graphs for all 20 projects.
  • The tool generated structured GraphML and SVG outputs for each project, enabling integration with graph analysis tools like Gephi for further exploration.
  • The dataset includes both demo projects (e.g., Spring PetClinic, eShopOnContainers) and industrial systems (e.g., Spinnaker, FTGO), offering diverse architectural coverage.
  • The dataset is publicly available under a permissive license, supporting reproducibility and long-term research use.
  • The authors identify limitations in tool coverage (e.g., Spring-only for API calls) and project representativeness (lack of closed-source systems), suggesting future work on multi-framework support and industrial-scale analysis.

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.