Domain-Driven Design for Microservices: An Evidence-Based Investigation
- 10 April 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 50 (6) , 1425-1449
Abstract
MicroService Architecture (MSA), a predominant architectural style in recent years, still faces the arduous task of identifying the boundaries of microservices. Domain-Driven Design (DDD) is regarded as one of the major design methods for addressing this task in practice, which aims to iteratively build domain models using a series of patterns, principles, and practices. The adoption of DDD for MSA ( DDD4M in short) can, however, present considerable challenges in terms of a sufficient understanding of the methodological requirements and the application domains. It is imperative to establish a systematic understanding about the various aspects of employing DDD4M and provide effective guidance. This study reports an empirical inquiry that integrates a systematic literature review and a confirmatory survey. By reviewing 34 scientific studies and consulting 63 practitioners, this study reveals several distinctive findings with regard to the state and challenges of as well as the possible solutions for DDD4M applications, from the 5W1H perspectives: When , Where , Why , Who , What , and How . The analysis and synthesis of evidence show a wide variation in understanding of domain modeling artifacts. The status quo indicates the need for further methodological support in terms of application process, domain model design and implementation, and domain knowledge acquisition and management. To advance the state-of-the-practice, our findings were organized into a preliminary checklist that intends to assist practitioners by illuminating a DDD4M application process and the specific key considerations along the way.Keywords
Funding Information
- Key Research and Development Program of Jiangsu Province (BE2021002-2)
- National Natural Science Foundation of China (62302210, 62072227, 62202219)
- Innovation Projects and Overseas Open Projects of State Key Laboratory for Novel Software Technology (ZZKT2022A25, KFKT2022A09, KFKT2023A09, KFKT2023A10)
This publication has 75 references indexed in Scilit:
- Impacts, causes, and solutions of architectural smells in microservices: An industrial investigationSoftware: Practice and Experience, 2022
- Model-Driven Generation of Microservice Interfaces: From LEMMA Domain Models to Jolie APIs2022
- Understanding software architecture erosion: A systematic mapping studyJournal of Software: Evolution and Process, 2022
- Microservice transition and its granularity problem: A systematic mapping studySoftware: Practice and Experience, 2020
- Design and Implementation of a Remote Care Application Based on Microservice Architecture2018
- Categorizing the Content of GitHub README FilesEmpirical Software Engineering, 2018
- A Case Study on Measuring the Size of Microservices2018
- Towards a UML Profile for Domain-Driven Design of Microservice Architectures2018
- Supporting agile software development through active documentationRequirements Engineering, 2010
- Requirements engineering paper classification and evaluation criteria: a proposal and a discussionRequirements Engineering, 2005