University of Twente Student Theses


A quantitative assessment method for microservices granularity to improve maintainability

Driessen, Famke (2023) A quantitative assessment method for microservices granularity to improve maintainability.

[img] PDF
Abstract:Currently, practitioners make decisions on microservice granularity by identifying bounded contexts, a concept from domain-driven design, which is done mainly based on experience. This can be limiting as such experience is not always at hand, and more concrete decision support is lacking. To ultimately enable the development of concrete decision support for microservices granularity decisions,we present a quantitative assessment method for the quality of a granularity of a microservice architecture, assessing quality in terms of maintainability. A set of six maintainability metrics tailored for microservice-based systems was selected, consisting of change coupling, structural coupling, weighted service interface count, lines of code, service interface data cohesion and change frequency. We validated our method on three microservice-based projects, by comparing the evolution in maintainability observed by our assessment with the evolution as perceived by case-experts. Our assessments correctly identified services that were candidates for merging and were in line with the maintainability evolution as perceived by the experts for the decompositions. The contribution of this research is the providing of an assessment method for microservices granularity, with regards to maintainability, which we validated based on the experiences of the experts.
Item Type:Essay (Master)
Deloitte, Amsterdam, Nederland
Faculty:EEMCS: Electrical Engineering, Mathematics and Computer Science
Subject:54 computer science
Programme:Computer Science MSc (60300)
Link to this item:
Export this item as:BibTeX
HTML Citation
Reference Manager


Repository Staff Only: item control page