Service discovery
Detecting at which address each instance of a service runs within a network.
Example
If payments runs in 3 instances, service discovery returns their 3 IPs and ports.
Test yourself: Service discovery
Service discovery
What does service discovery solve?
If payments runs in 3 instances, discovery gives the 3 IPs and ports.
Service discovery
Why isn't it enough to write each service's IP in the configuration?
If autoscaling goes from 3 to 8 instances, the 5 new ones aren't in the configuration.
0/2
â–¶ Play