Service Discovery

In more traditional distributed systems, services run at fixed, well-known locations, and there are generally fewer dependent or collaborating services. A microservices-based application often runs a large number of services in an environment where the service locations and instances are very dynamic. As we discussed in the resource scheduling section, services are often deployed in a shared cluster of virtual machines. Services are scaled up or out across a cluster of resources to meet the demand. Nodes come and go, and services are reallocated to optimize resource usage. Services provisioned in these environments require some mechanism to enable them to be easily discovered for requests to be sent to them.

Our services will ...

Get Microservices with Docker on Microsoft Azure™ (includes Content Update Program) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.