All challenges
intermediateReal-World Systems~45 min

Service Registry

Let services find each other in a fleet where instances come and go. A registry tracks which instances of each service are alive, expires ones that stop sending heartbeats, and hands callers a healthy instance to talk to. Build registration, heartbeat-based TTL expiry, health-filtered discovery, and round-robin load balancing — the service-discovery core of Consul, Eureka, and etcd.