Service Discovery

As we have seen in previous chapters, there needs to be some sort of service registry and discovery service that enables services to make themselves known to the system but also enables them to know where to find other services they need to talk to and to expose them to the outside world. Tools and services like Eureka, Zookeeper, or Consul, coupled with things like HAProxy are popular ones in the Docker microservices world. Service Fabric has service registration and discovery included through its Naming service. As mentioned before, the Naming service provides name resolution of services running somewhere in the cluster. Service instances and replicas get an opportunity to register whatever address they want with the Naming Service, and Name resolution takes the stable service name and transparently maps it to that address, so that the service is always addressable no matter on which node it runs in the cluster.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.47.208