Service discovery
medium 30 minService discovery turns a service name into the address of a running, healthy copy of that service.
Where it shows up
The same pattern appears across everyday software.
Kubernetes
Every Service has a DNS name. The platform updates the set of ready pods behind it, so applications usually need no discovery code at all.
Eureka
Netflix's registry. Instances renew a lease every 30 seconds, and clients keep the list locally, so calls go on if the registry does not answer.
Consul
Agents on the machines check local services and the catalogue answers over DNS and HTTP, so old programs can use it without changes.
AWS Cloud Map
A managed registry for cloud resources with custom names, found by API calls or DNS queries.
Istio and Envoy
The control plane watches the platform and sends addresses to the proxies, which balance each request.
Game servers
A match starts on a fresh server with a random address. A lobby service acts as the registry and tells the players where to connect.