🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

DevOps Intermediate

What is Service Discovery?

A mechanism that automatically detects and tracks the network locations of service instances in distributed systems.

In dynamic environments where service instances are constantly created and destroyed, service discovery eliminates hardcoded addresses. Services register themselves when starting and deregister when stopping. Clients query the discovery system to find available instances. Tools include Consul (HashiCorp), etcd, ZooKeeper, and DNS-based discovery in Kubernetes. Client-side discovery (the client picks an instance) and server-side discovery (a load balancer routes requests) are the two main patterns. Service discovery is foundational for microservices architectures and container orchestration.

Related Terms

Jenkins
An open-source automation server for building, testing, and deploying software through configurable CI/CD pipelines.
API Gateway
A server that acts as the single entry point for API requests, handling routing, authentication, rate limiting, and monitoring.
GitHub Actions
A CI/CD platform integrated into GitHub that automates build, test, and deployment workflows using YAML configuration.
Error Budget
The acceptable amount of unreliability allowed for a service, calculated as 100% minus the Service Level Objective.
Container Registry
A storage and distribution service for container images, similar to a package repository but for Docker images.
Health Check
An endpoint or mechanism that reports whether an application is running correctly and ready to handle requests.
View All DevOps Terms →