3 ms·
Exactly. I've never run into a situation where there was even a choice. Is it something that relies on a private database, queue, massive processing, dedicated
by crazygringo 3y ago
Exactly. I've never run into a situation where there was even a choice.
Is it something that relies on a private database, queue, massive processing, dedicated hardware, shared state, something geographically distributed? It's a service out of necessity.
Or is it just a bundle of quickly executing code? Then it's obviously a library.
I've never seen anybody try to turn leftPad() into a service.
- sokoloff 3y agoFair to assume it’s a joke, but: http://left-pad.io/ http://left-pad.io/
- sidlls 3y agoI've seen plenty of engineers try to turn trivial functionality like that into a microservice "to avoid version upgrade hell" (quote from one person in a previous job), or bundle what should be a simple self-contained (i.e. no-dependencies) library of functions (i.e. an API) into a REST/gRPC interface service. Microservices fad-following is as bad as TDD in this industry.