Hacker News new | ask | show | jobs
by throw1948012309 679 days ago
> My microservices all build and deploy in parallel so this system doesn't get slower as you expand to more services.

If you're deploying all your "microservices" in parallel, then what you might have built is a distributed monolith.

A microservice can be tested and deployed independently.

2 comments

I don't see a contradiction. I read it that the microservices are independent and thus can build in parallel, if several teams work on changes to several microservices.

Spinning a build worker outright when a change us pushed is the fastest way, and may be expensive if the build process is prolonged.

OTOH I've seen much faster image build times, with smart reuse of layers, so that you don't have to re-run that huge npm install if your packages.lock did not change.

Whether it is a distributed monolith or a set of microservices is independent of the speed of build.