What would happen if a service registry fails?

A service registry is the central directory microservices use to locate each other, so its failure can disrupt service-to-service communication across the entire system.

Key Points

Example

If a single-node Eureka server crashes, services with a cached registry snapshot might keep working for a while, but any new instance that starts up during the outage won't be able to register, and lookups for services that scaled or moved will start failing.

# Run the registry as a cluster of peers, so one node failing isn't an outage
# (registry node 1)
eureka:
  client:
    service-url:
      defaultZone: http://registry-2:8761/eureka/,http://registry-3:8761/eureka/

# Clients list every registry node and keep a local cache of the registry,
# so existing calls keep working while the registry is down
eureka:
  client:
    service-url:
      defaultZone: http://registry-1:8761/eureka/,http://registry-2:8761/eureka/,http://registry-3:8761/eureka/
    registry-fetch-interval-seconds: 30

Interview Tip

A concise interview answer is

If the registry goes down, services lose the ability to discover new or updated instance locations, which can break communication across the system, though client-side caching often provides a short grace period. That's why in production the registry itself should run as a highly available cluster rather than a single instance, so this failure mode is unlikely in practice.

Last updated: 1 November 2026

Previous question: How does service discovery work in microservices?

Next question: How do microservices update their registration and discovery information?

More Microservices - Level I interview questions

All Microservices - Level I questions