Service Registry

на сайте с June 10, 2023 18:00
When you are working with a distributed system, you will have services that have instances that can scale up or down. One service can have ten instances at one time and two at another time. The IP addresses of these instances get created dynamically. Problems arise here. Imagine that you have a client and it wants to talk to a service. How will it know the IP address of the service if IP addresses are dynamically created? The answer is a service registry.