Hacker News new | past | comments | ask | show | jobs | submit login

I think this nails it. It's not the concept's fault if the implementation is half-assed.



> It's not the concept's fault if the implementation is half-assed.

worse than that. Case in point: a major US national bank interview for a developer position. they talk about moving toward microservices. a simple question since they mention microservices: will someone be able to access and modify data data underneath my service without going through my service? the uneasy answer: yes, it does and will happen.

that's the end of the interview as far as I am concerned.

If you can access and modify the underlying data store from my micro service, not only it isn't a micro service, it isn't much of a service oriented architecture. this isn't me being a purist, just being practical. If we need to coordinate with five different teams to change the internal implementation of my "microservice", what is the point of doing service oriented architecture? all the downside with zero upside?


Thats a distinction worth following up:

My take is there are 3 kinds of micro-service

* Service Ownership of data - if you want to change customer name, there is only one place to go.

* Worker services - they don't really own data, they process something - usually requesting from golden sources. Just worker bees but the thing they do (send out marketing emails to that persons name) is not done by anyone else

* Everything else is borked


sorry, that’s a distributed monolith. if everyone can mess with the data directly you might as well keep it in one service




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

Search: