Does Domain-Driven Design Lead to Finding the Optimal Modularity of a Microservice?
Open Access
- 22 February 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 9, 32721-32733
Abstract
Information systems are moving into the cloud. The new requirements enforced by cloud standards are high availability, high scalability, and a reduced mean time to recovery. Due to these new requirements, information system architecture styles are also evolving. Microservice architecture is becoming the de facto standard for developing highly modular cloud information systems. Since microservices were introduced, there has been an ongoing debate concerning how to choose the granularity of a microservice. In this study, the optimal point of granularity for microservices is examined based on coupling and cohesion values. The present study is based on two design examples generated in previous studies that applied domain-driven design in proposing microservices. Both examples are modified to generate more and less granular microservices. The coupling and cohesion values of the original examples are compared to those of the more and less granular microservices. We observe that domain-driven design has delivered a good end result for finding modular microservices.Keywords
This publication has 39 references indexed in Scilit:
- An Empirical Study of Cohesion and Coupling: Balancing Optimization and DisruptionIEEE Transactions on Evolutionary Computation, 2017
- Microservices tenetsComputer Science - Research and Development, 2016
- Reflections on SOA and Microservices2016
- Pattern‐based multi‐cloud architecture migrationSoftware: Practice and Experience, 2016
- Using Cohesion and Coupling for Software RemodularizationACM Transactions on Software Engineering and Methodology, 2016
- All the Services Large and Micro: Revisiting Industrial Practice in Services Computing2016
- Optimal component selection based on cohesion & coupling for component based software system under build-or-buy schemeJournal of Computational Science, 2014
- Software Module Clustering as a Multi-Objective Search ProblemIEEE Transactions on Software Engineering, 2010
- Assessment of Package Cohesion and Coupling Principles for Predicting the Quality of Object Oriented Design2007
- Using automatic clustering to produce high-level system organizations of source code2002