Explainable Service Boundary Decision Framework for Monolith Migration Using DDD and Quantitative Metrics

Authors

  • Irgi Achmad Fauzi Universitas Logistik dan Bisnis Internasional
  • Muhammad Yusril Helmi Setyawan Universitas Logistik dan Bisnis Internasional
  • Mohamad Nurkamal Fauzan Universitas Logistik dan Bisnis Internasional

DOI:

https://doi.org/10.30865/json.v8i1.10013

Keywords:

domain-driven-design, explainable decision, microservices, quantitative metrics, service boundary

Abstract

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

2026-09-30

How to Cite

Fauzi, I. A., Setyawan, M. Y. H., & Fauzan, M. N. (2026). Explainable Service Boundary Decision Framework for Monolith Migration Using DDD and Quantitative Metrics. Jurnal Sistem Komputer Dan Informatika (JSON), 8(1). https://doi.org/10.30865/json.v8i1.10013