Re:Apply Unix Principles to Write Testable Microservices
by dsirola on Friday April 12, 2019 @04:44AM
(#19643136)
Sounds like a nightmare to me. Something that could've been a module in a regular application is split across multiple services introducing multiple network calls that can fail (not to mention the response time once the workflow grows).
If people who don't know how to write modular code start using microservices as a solution, the only thing that changes is that you end up with distributed big ball of mud instead of the regular big ball of mud.
[ Parent
| on HN ]
Re:Apply Unix Principles to Write Testable Microservices
by redact207 on Friday April 12, 2019 @04:50AM
(#19643166)
It's worth clarifying that workflows are generally used to coordinate long running processes that can last up to days - think coordinating receiving an order, picking, dispatch etc. It's not intended to fit within the space of an http request/response.
As for should everything be in a module? Idk, but it's a much nicer place to start than microservices
Re:Apply Unix Principles to Write Testable Microservices
by romanovcode on Friday April 12, 2019 @05:04AM
(#19643241)
Congratulations, you've just described 90% of microservices.
Re:Apply Unix Principles to Write Testable Microservices
by jbverschoor on Friday April 12, 2019 @05:18AM
(#19643305)