Posts

Showing posts from October, 2021

Microservices

Let’s Assume that we have a User and a Department so we can make two services that is User service and Department service. So, the key is how to manage two different service (user and department), There is a Service Registry that is the third service where the above two services will be registered and making API gateway where all requests will be received first and will be forwarded to respected services (will work as a mediator) Currently the Services count we have been is 1) User Service 2) Department Service 3) Service Registry 4) API Gateway Now the Service 1 and 2 and 4 will be the service which will be registered under Service R egistry , A service Registry is a service which keeps track of all the service which are registered to it. So, for service 1 and 2 that is the user and department service will communicate as independent service, just think you have User service and many of your other project has the usage of user, in fact without user nothing is possib