News for hackers. Stuff that matters.
Re:Avoiding the Distributed Monolith by philipkglass on Tuesday April 10, 2018 @05:49PM (#16805836)
Microservices can be used akin to language-independent libraries. You can implement some ML functionality atop Python's marvelous scikit-learn, deploy it as a little service with an HTTP endpoint, and easily call it from an existing Node or PHP code base. That's easier and more effective than forcing unification to one language ecosystem.
Re:Avoiding the Distributed Monolith by rb808 on Tuesday April 10, 2018 @06:09PM (#16805989)
Good point that they're language independent. I hadn't thought of that advantage.
Re:Avoiding the Distributed Monolith by SmirkingRevenge on Tuesday April 10, 2018 @09:51PM (#16807405)
Language independence comes with a trade off though.

You either have to repeat yourself by implementing your data models and validation routines in all the languages your service consumers might use, or instrument some language agnostic way to specify your data models and possibly generate code for them and their validation routines/client libraries, for a myriad of languages.

At that point, your basically reinventing something akin to sql and/or database schemas and constraints without ACID guarantees. You can deploy something like apache thrift or google's protocol buffers, and maybe throw in some swagger.io (which are all great things). But they are yet more layers, that for many levels of scale, increases complexity, rather than reduce it.

Or you can just trust all the services to never have bugs or breaking changes for consumer applications...

Re:Avoiding the Distributed Monolith by zip1234 on Tuesday April 10, 2018 @06:12PM (#16806014)
Still dependent on some sort of communication protocol.
Re:Avoiding the Distributed Monolith by sebringj on Tuesday April 10, 2018 @07:19PM (#16806558)
The web is a universal standard, not sure how you can get more generic than that. I mean, you can't.
Re:Avoiding the Distributed Monolith by jacobush on Wednesday April 11, 2018 @03:04AM (#16808727)
Bytes are a universal standard.
Re:Avoiding the Distributed Monolith by blackflame7000 on Wednesday April 11, 2018 @04:41PM (#16815361)
Big-Endian or Little-Endian?
Re:Avoiding the Distributed Monolith by sebringj on Wednesday April 11, 2018 @03:41PM (#16814744)
oh you... you know what i mean, you have to have some standard way to talk. Bytes are tooooo generic. you don't want to be that guy at the party that is always saying but.... but you are technically correct :)