A Modular Approach to Calculate Service-Based Maintainability Metrics from Runtime Data of Microservices

Justus Bogner, Steffen Schlinger, Stefan Wagner, Alfred Zimmermann

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

15 Scopus citations

Abstract

While several service-based maintainability metrics have been proposed in the scientific literature, reliable approaches to automatically collect these metrics are lacking. Since static analysis is complicated for decentralized and technologically diverse microservice-based systems, we propose a dynamic approach to calculate such metrics from runtime data via distributed tracing. The approach focuses on simplicity, extensibility, and broad applicability. As a first prototype, we implemented a Java application with a Zipkin integrator, 23 different metrics, and five export formats. We demonstrated the feasibility of the approach by analyzing the runtime data of an example microservice-based system. During an exploratory study with six participants, 14 of the 18 services were invoked via the system’s web interface. For these services, all metrics were calculated correctly from the generated traces.

Original languageEnglish
Title of host publicationProduct-Focused Software Process Improvement - 20th International Conference, PROFES 2019, Proceedings
EditorsXavier Franch, Tomi Männistö, Silverio Martínez-Fernández
PublisherSpringer
Pages489-496
Number of pages8
ISBN (Print)9783030353322
DOIs
StatePublished - 2019
Externally publishedYes
Event20th International Conference on Product-Focused Software Process Improvement, PROFES 2019 - Barcelona, Spain
Duration: 27 Nov 201929 Nov 2019

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11915 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference20th International Conference on Product-Focused Software Process Improvement, PROFES 2019
Country/TerritorySpain
CityBarcelona
Period27/11/1929/11/19

Keywords

  • Dynamic analysis
  • Maintainability metrics
  • Microservices

Fingerprint

Dive into the research topics of 'A Modular Approach to Calculate Service-Based Maintainability Metrics from Runtime Data of Microservices'. Together they form a unique fingerprint.

Cite this