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 contributionAcademicpeer-review

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
EditorsX. Franch, T. Männistö, S. Martínez-Fernández
PublisherSpringer
Pages489-496
ISBN (Print)9783030353322
DOIs
Publication statusPublished - 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)
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

Funding

Acknowledgments. This research was partially funded by the Ministry of Science of Baden-Württemberg, Germany, for the doctoral program Services Computing (https:// www.services-computing.de/?lang=en).

FundersFunder number
Ministry of Science of Baden-Württemberg

    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