Blog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2025 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Microservices
Microservicesmedium

What is service discovery and why is it needed?

Tags
#service-discovery#registry#kubernetes#microservices
Back to categoryPractice quiz

Answer

Service discovery is a mechanism for locating service instances dynamically (via a registry like Eureka/Consul or Kubernetes DNS). It’s needed because instances scale up/down and change IPs, so clients must discover healthy endpoints at runtime.

Related questions

Microservices
Trace context propagation: what is the `traceparent` header and why should services forward it?
#microservices#observability#tracing
Microservices
Kafka ordering: what ordering guarantees do you get and how do you design for ordering?
#microservices#kafka#ordering
Microservices
Why is synchronous fan-out (one request calling many services) risky, and how do you reduce it?
#microservices#fan-out#latency
Microservices
REST vs gRPC for service-to-service calls: what are the key trade-offs?
#microservices#grpc#rest
Microservices
BFF (Backend for Frontend): what is it and when does it help?
#microservices#bff#api
Microservices
Multi-region microservices: what are the main benefits and the main pain points?
#microservices#multi-region#availability