We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Modular Monolith or Microservices Pattern: deployed together modules or independent services
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