Hendrik Lösch

Modulith Instead of Monolith - Pragmatically Towards Microservices

Is there a middle ground between monoliths and microservices? Discover the modulith, a pattern for modernizing legacy systems without unnecessary complexity.

Modulith Instead of Monolith - Pragmatically Towards Microservices
#1about 3 minutes

Analyzing a complex 20-year-old legacy system

The initial state of a hardware control application was not a simple monolith but a messy mix of C# WinForms and C++ services.

#2about 2 minutes

Why traditional monoliths get a bad reputation

Unplanned monoliths often lead to tangled dependencies, deployment challenges, scaling issues, and code that is difficult to understand or modify.

#3about 4 minutes

Defining the modulith as a pragmatic alternative

A modulith combines the deployment simplicity of a monolith with the organizational benefits of modules based on business-bounded contexts.

#4about 3 minutes

Contrasting modulith and microservice architectures

While microservices offer independent deployment, a modulith optimizes for a single runtime environment, reducing network overhead and improving resource efficiency.

#5about 4 minutes

Designing modules with clear public interfaces

Modules are built around a domain model with public interfaces, allowing internal implementations to be swapped without affecting other parts of the system.

#6about 3 minutes

Managing product line complexity with modules

A modular architecture simplifies support for multiple product generations and hardware variations by enabling interchangeable component implementations.

#7about 6 minutes

Structuring the application with a layered architecture

The system is organized into distinct layers for hardware, assets (domain entities), features, and product configuration, all built on a shared foundation platform.

#8about 4 minutes

Executing an incremental refactoring to a modulith

The refactoring process involves wrapping the legacy system as the first module and then systematically extracting new, independent modules based on domain models.

Related jobs
Jobs that call for the skills explored in this talk.

test

Milly
Vienna, Austria

Intermediate

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
BB
Benedikt Bischof
Why You Shouldn’t Build a Microservice Architecture
Welcome to this issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Michael Eisenbart who talks about the pros and cons of microservice architecture.‍About the speaker:‍Michael has been working for Bosch as a sof...
Why You Shouldn’t Build a Microservice Architecture
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!

From learning to earning

Jobs that call for the skills explored in this talk.