Service Discovery
Dynamic mapping coordinates for running microservice containers (Consul, Eureka).
What you'll learn
- Service Registry
- Client-Side Discovery
- Server-Side Discovery
TL;DR
Dynamic mapping coordinates for running microservice containers (Consul, Eureka).
Concept Overview
Service Discovery is a dynamic directory service that manages and resolves the fluctuating IP addresses and port locations of microservice instances within an auto-scaling cloud cluster.
Key Architectural Pillars
Service Registry
The central database of service profiles containing active IP addresses and port mappings (e.g., Consul, Eureka).
Client-Side Discovery
The client queries the registry directly, selects a healthy instance address using load-balancing logic, and calls it.
Server-Side Discovery
The client makes a call to a proxy load balancer, which queries the registry and forwards the request.
