Taming Microservice Overload: Our Journey to Modular Monoliths
summary
Port of Rotterdam shrinks a 90+ microservice sprawl into modular monoliths by rediscovering domain boundaries with event storming and implementing modules with Spring Modulith. Concrete steps: map subdomains, create a walking skeleton, copy matching services into modules that initially share the same database, use feature flags and staged deployments, and enforce module contracts with application-module tests and the application-module-listener for async reliability. Result so far: ~2.5 years of a planned 5-year migration, faster local development but larger deployables and more regression testing; key rule: boundaries over number of services.
AI-written summary · about
