Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're using microservice to enforce stronger interface boundaries what you're really relying on are separate git repos with separate access control to make it difficult to refactor across codebases. A much simpler way to achieve that same benefit is to create libraries developed in separate repos.


Wow. That's an interesting take on the problem of scaling a monolith without introducing the network between the system interactions.


Hum... People have been doing it since the 60's, when it became usual to mail tapes around.

If you take a look at dependency management at open source software, you'll see a mostly unified procedure, that scales to an "entirety of mankind" sized team without working too badly for single developers, so it can handle your team size too.

That problem that the "microservices bring better architectures" people are trying to solve isn't open by any measure. It was patently solved, decades ago, with stuff that work much better than microservices, in a way that is known to a large chunk of the developers and openly published all over the internet for anybody that wants to read about.

Microservices still have their use. It's just that "it makes people write better code" isn't true.


it's also possible to have more than one microservice in a single repo. defining good interfaces is a problem unsolved by repo size and count.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: