Problem
Hardcoded IPs break on scaling, failures, deployments. Services need to find each other automatically.
Also known as: discovery, consul, etcd, eureka, kubernetes, dns-based
Enable services to find each other dynamically in distributed systems, supporting scaling, failures, and deployments.
Hardcoded IPs break on scaling, failures, deployments. Services need to find each other automatically.
solution: | Patterns:
Client-Side Discovery
Server-Side Discovery (Proxy/Load Balancer)
DNS-Based Discovery
Registry Backends:
Registration:
Health Checks:
Metadata: version, zone, tags, endpoints (gRPC, HTTP), capacity. whenToUse: