4 ms·
The part about no good definitions of micro-services is a bit far-fetched. I have one that is perfectly functional, though it requires an architect who is enthu
by dsign 2y ago
The part about no good definitions of micro-services is a bit far-fetched. I have one that is perfectly functional, though it requires an architect who is enthusiastic about micro-services, hasn't written any code in at least ten years, and who has no operational responsibilities nor experience. Getting one of these is not too hard; they abound. After that minor hurdle is cleared, the test is simple and has two parts: first, the functionality must fit in an ordinary function of some programming language, even Fortran will do in a pinch. Second, the architect has said that this must be a micro-service with its own git repository and independent database. That's it. If these two conditions are met, then this piece of functionality qualifies as a micro-service.
- bckr 2y agoThe point isn’t that there are no good definitions. The point is that there are many definitions. I also have a working definition of a microservice, which is that it is a functional part of a system which exposes its functionality to other parts of the system via HTTP. This works for my team. In general, we shouldn’t fetishize any particular technology, idea, or phrase. If a term obfuscates more than it clarifies, it’s not very useful.
- Braxton1980 2y agoWouldn't that be considered an API?
- antonvs 2y agoAn API is an abstract interface - the "I" stands for interface after all. An implementation of an API can be a microservice.
- bckr 2y agoAPI can mean a library, an RPC, an HTTP call using query params/XML/Json, a CLI, the list goes on. In my definition, what matters is there’s something responding to HTTP requests internal to the system.
- magicalhippo 2y ago> I also have a working definition of a microservice, which is that it is a functional part of a system which exposes its functionality to other parts of the system via HTTP. How do you differentiate service and microservice?
- bckr 2y agoA microservice is a type of service which faces internal systems. A service in general may also face the internet.