From the course: Microservices: Design Patterns (2020)

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Service discovery

Service discovery

From the course: Microservices: Design Patterns (2020)

Start my 1-month free trial

Service discovery

- [Frank] As a microservices architecture grows, so does the complexity of finding the appropriate service that provides the models and behavior you need. Enter into the picture service discovery. Service discovery can save you a lot of time, especially in a dynamic runtime where service locations can vary by scaling events and geographic location. The problem we are trying to solve here is very simple, what service do I need to call to perform some body of work? While when you only have a small set of microservices, that may seem very maintainable within your configuration, once you go to hundreds or even thousands within a single deployment, it's not so manageable. The concept is actually quite simple as well. A central location exists that allows for discovery of services. As a new service comes online, it advertises itself and what models or processes it exposes to the rest of the system. It does this by introspection of…

Contents