Explainable Service Boundary Decision Framework for Monolith Migration Using DDD and Quantitative Metrics
DOI:
https://doi.org/10.30865/json.v8i1.10013Keywords:
domain-driven-design, explainable decision, microservices, quantitative metrics, service boundaryAbstract
Identifying a service boundary is a critical decision in monolith-to-microservices migration. Intuition alone is hard to reproduce, while technical metrics without domain context can overlook business semantics. This study develops an explainable boundary-decision framework linking Domain-Driven Design (DDD), implementation evidence, and quantitative metrics for the FemaleFit e-commerce monolith. Domain mapping traced business capabilities to endpoints, controllers, models, and tables, producing 13 initial contexts and seven atomic candidates. Candidates were scored with M01–M13 under three weighting schemes (W1–W3), a practical-tie rule, and boundary sensitivity analysis. C01 Identity & Access and C03 Craft Catalog formed a practical tie, differing by 0.002803 under W1. C03 was selected on the judgement that it had clearer domain alignment, an explicit routing seam, a verified core flow, and a more contained blast radius. It was extracted as a Catalog Service behind a Strangler Gateway, with 34 unique HTTP method–path pairs reconciled against the migration contract. Functional evaluation covered one representative case for each of the 34 frozen Catalog contracts, including negative/error cases. All 540 retained read requests completed without failure across three independent runs per condition; latency findings were descriptive and mixed. The metrics indicate lower structural coupling and process-level deployment independence, but not database independence. Findings are bounded by one case, one service, a sequential local workload, and a shared database.
References
[1] P. I. Habib, A. S. Murdha, H. Agus, and Suhardi, “Architecture Migration From Monolithic to Microservices: Developing Readiness Criteria,” IEEE Access, vol. 12, pp. 194630–194645, 2024, doi: 10.1109/ACCESS.2024.3504848.
[2] H. Michael Ayas, P. Leitner, and R. Hebig, “An empirical study of the systemic and technical migration towards microservices,” Empir. Softw. Eng., vol. 28, no. 4, Jul. 2023, doi: 10.1007/s10664-023-10308-9.
[3] I. Oumoussa and R. Saidi, “Evolution of Microservices Identification in Monolith Decomposition: A Systematic Review,” IEEE Access, vol. 12, pp. 23389–23405, 2024, doi: 10.1109/ACCESS.2024.3365079.
[4] Vlad Khononov, Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy, 1st ed. O’Reilly Media, 2021.
[5] O. Özkan, Ö. Babur, and M. van den Brand, “Refactoring with domain-driven design in an industrial context: An action research report,” Empir. Softw. Eng., vol. 28, no. 4, Jul. 2023, doi: 10.1007/s10664-023-10310-1.
[6] O. Al-Debagy and P. Martinek, “Dependencies-based microservices decomposition method,” International Journal of Computers and Applications, vol. 44, no. 9, pp. 814–821, 2022, doi: 10.1080/1206212X.2021.1915444.
[7] G. Quattrocchi, D. Cocco, S. Staffa, A. Margara, and G. Cugola, “Cromlech: Semi-Automated Monolith Decomposition into Microservices,” IEEE Trans. Serv. Comput., vol. 17, no. 2, pp. 466–481, Mar. 2024, doi: 10.1109/TSC.2024.3354457.
[8] T. Kinoshita and H. Kanuka, “Enhancing Automated Microservice Decomposition via Multi-Objective Optimization,” IEEE Access, vol. 12, pp. 55697–55710, 2024, doi: 10.1109/ACCESS.2024.3389700.
[9] I. Oumoussa and R. Saidi, “Automated Microservices Identification Through Business Process Analysis: A Semantic-Driven Clustering Approach,” IEEE Access, vol. 13, pp. 89926–89945, 2025, doi: 10.1109/ACCESS.2025.3571809.
[10] R. Maharjan, K. Sooksatra, T. Cerny, Y. Rajbhandari, and S. Shrestha, “A Case Study on Monolith to Microservices Decomposition with Variational Autoencoder-Based Graph Neural Network,” Future Internet, vol. 17, no. 7, Jul. 2025, doi: 10.3390/fi17070303.
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jurnal Sistem Komputer dan Informatika (JSON)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This work is licensed under a Creative Commons Attribution 4.0 International License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).

