6 points•birdculture•2 months ago•3 comments•

3 comments

mir0nabout 2 months ago
The most valuable line here is the one offered against the piece's own argument: "It takes a lot, perhaps too much, discipline to build a monolith in a sufficiently modular way that it can be broken down into microservices easily."

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.

rvz2 months ago
If you are a pre-revenue startup, this is the most hyped up architectural approach in software engineering such that it was designed to waste you money on “scaling” when in reality you were actually bankrupting yourself.
andsoitis2 months ago
2015. How have perspectives shifted since then?

Read the full thread on Hacker News →

Related stories