liveBook · Manning

Third-party registration

As explained in Microservices Patterns, Second Edition

Third-party registration is a service discovery pattern in which an external registrar registers service instances with a service registry.

Third-party registration assigns service-instance registration to an external registrar, typically part of the deployment platform, rather than having each service register itself. Use it when the platform can manage registration alongside service discovery and request routing. section 8.2.5

Platform-managed Order Service

A deployment platform registers three Order Service instances in its registry. A client requests the service through its DNS name or virtual IP; the platform routes and load-balances the request. section 8.2.5

Figure 8.11 The platform is responsible for service registration, discovery, and request routing. Service instances are registered with the service registry by the registrar. Each service has a network location, a DNS name/virtual IP address. A client makes a request to the service’s network location. The router queries the service registry and load balances requests across the available service instances.
PlatformProvidedServiceDiscovery

Trace how the registrar, service registry, DNS or virtual IP, and router divide registration, discovery, and request routing. section 8.2.5

How Microservices Patterns, Second Edition covers it

How deep it goes
Defines the registrar’s role and shows the platform flow, but leaves registrar implementation dependent on deployment technology.
Examples
Illustrates platform registration and load balancing for three Order Service instances, with Kubernetes and AWS options noted.
What you can do after
Understand how a deployment platform can register service instances and handle discovery and routing.
How it connects
Pairs third-party registration with service registries, service discovery, and server-side discovery.

This explainer was generated by Manning's knowledge graph from the text of Microservices Patterns, Second Edition. The section links point to the parts of the book it draws on.