by t0astbread · 7y ago · 0 comments
Yet I never see anyone talking about how we could combine the two to get the best of both worlds. It's always just microservices vs monoliths. (Similar things are happening in the frontend community with JS vs. no-JS debates.)
One would be rightfully considered batty for trying to do /everything/ recursively for the sake of it while dogmatically avoiding recursion by creating massively multi-dimensional arrays would also be considered insane.
(Ironically I must disagree with client-side JS as something to be avoided whenever possible but that is over concrete concerns of trust, bloat, and abuse where 'but we can't do that then' is greeted with 'mission accomplished'. If it is locked away server-side I particularly don't care if you use assembly code or a lolcat based language.)
Having worked on many examples of both Fortune 500 monoliths and start-up scale monoliths, I feel confident saying monoliths just fail, hands down, at all these scales.
Monoliths only fail when architects don't have a clue about modular development and writing libraries.
Same architects will just design distributed spaghetti code, with increased complexity and maintenance costs.
They just have to learn how to actually use and create libraries on their language of choice.
Each microservice is a plain dll/so/lib/jar/... maintained by a separate team.
No access to code from other teams, other than the produced library.
It isn't that hard to achieve.