Domain-Driven Design Representation of Monolith Candidate Decompositions Based on Entity Accesses

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Levezinho, Miguel, Kapferer, Stefan, Zimmermann, Olaf, Silva, António Rito
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913415632519168
author Levezinho, Miguel
Kapferer, Stefan
Zimmermann, Olaf
Silva, António Rito
author_facet Levezinho, Miguel
Kapferer, Stefan
Zimmermann, Olaf
Silva, António Rito
contents Microservice architectures have gained popularity as one of the preferred architectural approaches to develop large-scale systems, replacing the monolith architecture approach. Similarly, strategic Domain-Driven Design (DDD) gained traction as the preferred architectural design approach for the development of microservices. However, DDD and its strategic patterns are open-ended by design, leading to a gap between the concepts of DDD and the design of microservices. This gap is especially evident in migration tools that identify microservices from monoliths, where candidate decompositions into microservices provide little in terms of DDD refactoring and visualization. This paper proposes a solution to this problem by extending the operational pipeline of a multi-strategy microservice identification tool, called Mono2Micro, with a DDD modeling tool that provides a language, called Context Mapper DSL (CML), for formalizing the most relevant DDD concepts. The extension maps the content of the candidate decompositions, which include clusters, entities, and functionalities, to CML constructs that represent DDD concepts such as Bounded Context, Aggregate, Entity, and Service, among others. The results are validated with a case study by comparing the candidate decompositions resulting from a real-world monolith application with and without CML translation.
format Preprint
id arxiv_https___arxiv_org_abs_2407_02512
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Domain-Driven Design Representation of Monolith Candidate Decompositions Based on Entity Accesses
Levezinho, Miguel
Kapferer, Stefan
Zimmermann, Olaf
Silva, António Rito
Software Engineering
Microservice architectures have gained popularity as one of the preferred architectural approaches to develop large-scale systems, replacing the monolith architecture approach. Similarly, strategic Domain-Driven Design (DDD) gained traction as the preferred architectural design approach for the development of microservices. However, DDD and its strategic patterns are open-ended by design, leading to a gap between the concepts of DDD and the design of microservices. This gap is especially evident in migration tools that identify microservices from monoliths, where candidate decompositions into microservices provide little in terms of DDD refactoring and visualization. This paper proposes a solution to this problem by extending the operational pipeline of a multi-strategy microservice identification tool, called Mono2Micro, with a DDD modeling tool that provides a language, called Context Mapper DSL (CML), for formalizing the most relevant DDD concepts. The extension maps the content of the candidate decompositions, which include clusters, entities, and functionalities, to CML constructs that represent DDD concepts such as Bounded Context, Aggregate, Entity, and Service, among others. The results are validated with a case study by comparing the candidate decompositions resulting from a real-world monolith application with and without CML translation.
title Domain-Driven Design Representation of Monolith Candidate Decompositions Based on Entity Accesses
topic Software Engineering
url https://arxiv.org/abs/2407.02512