3 comments
Keep that discipline and the decomposition is finished inside the monolith: a set of micro-modules that happen to share one process, seams done.
Once you are done with the decomposition, what is left is a question of how to run the micro-modules: keep them in the process that used to be the monolith, run one on its own as a microservice, or run several of them together.
Microservices-first is the same idea from the other end -- the micro-modules are already defined, each sitting in its own process. Only one option is missing: what if you want to run some of them together, aggregating several microservices into one program?
Both ways, microservices-first and monolith-first, are about one thing: the decomposition.
After that comes the second question -- how you are going to run your micro-modules.
Monolith, then modular, then deploy the modules for best efficiency.
Microservices, where each service is already a module in its own process, then deploy the modules for best efficiency.
Read the full thread on Hacker News →
Related stories
- DEV Community · 6 points · 2 months ago
- Hacker News · 2 points · about 2 months ago
- DEV Community · 6 points · about 2 months ago
- DEV Community · 21 points · 2 months ago
- DEV Community · 15 points · 2 months ago
- Hacker News · 2 points · 2 months ago