๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout 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

Message Queue
A communication mechanism that enables asynchronous message passing between services, decoupling producers from consumers.
Helm
A package manager for Kubernetes that simplifies deploying and managing applications using reusable, configurable charts.
Trunk-Based Development
A source control strategy where developers integrate small changes directly into the main branch frequently, often multiple times per day.
Nginx
A high-performance web server and reverse proxy known for its stability, low resource usage, and ability to handle many concurrent connections.
Blue-Green Deployment
A deployment strategy using two identical environments where traffic is switched from the old version to the new one instantly.
Packer
A tool for creating identical machine images for multiple platforms from a single configuration file.
View All DevOps Terms โ†’