1.

What is service discovery? And how is it helpful?

Answer»

In a cloud environment where docker images are dynamically deployed on any machine or IP + Port combination, it becomes difficult for dependent services to update at runtime. Service discovery is created due to that PURPOSE only.

Service discovery is one of the services running under microservices architecture, which registers ENTRIES of all of the services running under the service mesh. All of the actions are available through the REST API. So whenever the services are up and running, the individual services registers themselves to service discovery service and service discovery services maintains HEARTBEAT to make sure that those services are alive. That ALSO serves the purpose of monitoring services as well. Service discovery also HELPS in distributing requests across services deployed in a fair manner.



Discussion

No Comment Found