ReviseAlgo Logo
Intermediate12 min readSystem Architecture

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

1

Service Registry

The central database of service profiles containing active IP addresses and port mappings (e.g., Consul, Eureka).

2

Client-Side Discovery

The client queries the registry directly, selects a healthy instance address using load-balancing logic, and calls it.

3

Server-Side Discovery

The client makes a call to a proxy load balancer, which queries the registry and forwards the request.

AI Tutor

Ask about the topic

Sign in Required

Please sign in to use the AI tutor

Sign In
Service Discovery - Module 5: System Architecture | System Design | Revise Algo