Modular Monolith or Microservices Pattern: deployed together modules or independent services

Author: Binary Igor
Published At: 2024-06-03T00:00:00
Length: 33:00

Summary

Description

Modular Monoliths are great, but what if we had a pattern, where depending on the current needs, we could deploy our modules as a single unit - monolith, or multiple units - services?

By following a certain convention, we can achieve this flexible deployment strategy!

In the video, we will implement it using simple tools - Postgres, Java 21, Spring Boot 3 and plain old Maven.

Let's go!

Cases:

* Modular Monolith 04:27

* Microservices 19:18

Code to tinker with: https://github.com/BinaryIgor/code-examples/tree/master/modular-monolith-or-microservices-pattern

Related video about Modular Monolith with Independently Deployable Modules: https://www.youtube.com/watch?v=onV4449vs1g

If you like reading, here is a related blog post: https://binaryigor.com/modular-monolith-dependencies-and-communication.html

#softwarearchitecture #monolith #microservices

Translated At: 2025-03-23T12:12:41Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos