Abstract
The development of a software system usually starts as a software monolith. Over thelifetime of a software system, this type of architecture can hinder further development
due to extended business logic requirements and increasing system load. Therefore, the
requirements for technical robustness increase. An alternative architectural approach
is a microservice architecture, which offers fine-grained scaling possibilities. To transition from a monolithic architecture to a microservice architecture, the existing software
monolith has to be structured into business logic-oriented modules first. This stage between software monoliths and microservices is referred to as a modular monolith.
In this thesis, different approaches to handle the two needed steps identified for a migration from a software monolith to a modular software monolith are investigated. The first
step is the creation of a conceptual module decomposition and is addressed by analysing
the capabilities of a semi-automatic approach. This approach creates a potential module
decomposition by calculating metrics which describe the degree of coupling of individual
system components. On this basis, a graph representation of the system is created. By
applying a clustering algorithm, the final conceptional module decomposition is created.
For the second step, the existing system has to be refactored to represent the conceptual module decomposition. This step is evaluated by experimentally creating modules
and decoupling these modules in a software system provided by solvistas GmbH. The
experimental implementation is performed for the two architecture patterns Hexagonal
Architecture and CQRS, which are both evaluated and compared. General factors in
regards of modularizing an existing software monolith are determined and aspects as
well as advantages and disadvantages of both architecture patterns are identified.
The investigation of the semi-automatic approach to create a conceptional module decomposition shows that this approach can be used for the initial creation of the conceptional module decomposition. This can potentially reduce the time required of the
creation process. The evaluation of both architecture patterns for the technical implementation of the module decomposition reveals that both patterns can be used for the
modularization of an existing software monolith. Various properties of both architecture
patterns are determined during the evaluation and the results show that the applicability of each approach heavily depends on the software system that should be modularized
and its intended use.
| Date of Award | 2025 |
|---|---|
| Original language | German (Austria) |
| Supervisor | Johann Heinzelreiter (Supervisor) |
Studyprogram
- Software Engineering
Cite this
- Standard