Undoubtedly, Microservices is the trending topic in the software development world. Every organization is trying to decompose its application/product and convert into Microservices, so that they can sell their product in name of Micro-Services based architecture. However, are they really creating true Microservices? or in the lack of understanding of overall Microservice architecture Gamut, are they creating just another set of services, which can be called “Miniservices” to achieve the business needs.
In this article, lets try to differentiate between a Microservice, Miniservice, and Macro (Monolith) Service.
You can call your service as Micro-Service if and only if it is:
So, if your service is not following any of this principle, then it is not a Microservice, and you may be working on Mini-service, which I will explain shortly. Services are also not Microservices if they:
However, during development, not all developers understand the Pub-Sub model or lack on understanding of functionality, so they commit the following mistakes:
So what is Miniservices? It is like a group of Microservices that come together in a pattern to resolve a business need. It is a single function as a service.
You can call your service as Miniservice if:
#microservice architecture #microservice #monolith #miniservice