Service Discovery Patterns

DNS-based, registry-based.

Overview

Service discovery lets clients find service instances dynamically. The four patterns below cover almost every infrastructure shape; the discipline is matching the pattern to the platform rather than picking by trend.

The approach

Three habits make service-discovery choice match the infrastructure: K8s-native for K8s workloads, Consul for VM workloads, service mesh when rich policy is needed.

Why this compounds

Each correctly-integrated service inherits the discovery pattern. Team distributed-systems expertise compounds; new services slot into the existing topology rather than reinventing it.