The Way of the Modular Monolith, with Victor Rentea, at Codecamp_Festival 2023
The microservices honeymoon is over – a team is merging nano-services back into a more manageable solution. Meanwhile, a larger team is adding one more feature to their legacy monolith aka macro-service, trying to find ways to break down its complexity. What both teams need is to learn how to progressively transition a monolithical codebase into decoupled modules in tiny baby steps, reflecting on the selected boundaries and enforcing them along the way.
This talk will walk you through the key steps to move towards a Modular Monolith, aka Modulith. You will hear about Bounded Contexts, breaking data structures, internal/external module APIs, choreography vs orchestration, events, transactions, and 6 ways to fix cyclic dependencies between modules.
Finally, extracting such a module into a microservice becomes a trivial task. But, like some of Victor's clients, you may be so happy with your codebase that you would choose NOT to take that dangerous step towards microservices.
https://codecamp.ro/codecamp_festival-2023/