top | item 46749143

(no title)

worksonmine | 1 month ago

Sometimes there are reasons to separate projects. I wouldn't put a scraper or pdf generator with the main application.

There are benefits to keeping some things small and isolated. Teams that have problems with micro services are doing it wrong.

discuss

order

IshKebab|1 month ago

> I wouldn't put a scraper or pdf generator with the main application.

I would. It can be in the main executable just under a different subcommand.

> There are benefits to keeping some things small and isolated.

Nobody is saying otherwise. It's just that the downsides are almost always bigger.

> Teams that have problems with micro services are doing it wrong.

How so? Some of the disadvantages are inherent to the idea of microservices, e.g. the additional orchestration complexity.

worksonmine|1 month ago

> I would. It can be in the main executable just under a different subcommand.

Executing user code (pdf generator) could potentially be a security concern, isolating it has it benefits.

> the additional orchestration complexity.

This would be an example of doing it wrong. A healthy microservice fails gracefully and latency can be minimal.