Explore tens of thousands of sets crafted by our community.
Service Discovery in Distributed Systems
8
Flashcards
0/8
DNS-Based Discovery
DNS-Based Discovery uses the Domain Name System to translate human-readable hostnames to IP addresses. Services register their location in DNS, and clients use DNS queries to locate services.
Consul
Consul provides service discovery, health checking, Key/Value store, and supports multi-datacenter deployments. Services register with Consul and clients query Consul to discover services.
ZooKeeper
Apache ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. It uses znodes for service registration and discovery.
Etcd
Etcd is a distributed key-value store that provides a reliable way to store data across a cluster of machines. It's commonly used for shared configuration and service discovery in distributed systems.
Eureka
Eureka is a REST-based service used for locating services for the purpose of load balancing and failover of middle-tier servers. Clients register instances with Eureka and other clients query Eureka to find instances.
Gossip Protocols
Gossip protocols are used in distributed systems for peer-to-peer information dissemination and are based on the principle of epidemic information spreading. They are robust in failure scenarios and do not rely on a centralized registry.
mDNS (Multicast DNS)
Multicast DNS (mDNS) resolves hostnames to IP addresses within small networks that do not include a local name server. It's used for automatic service discovery in local networks and operates similarly to standard DNS.
Service Registry
A service registry is a database that keeps track of service instances and their current state. Distributed services register to this database, and clients look up the registry to find services.
© Hypatia.Tech. 2024 All rights reserved.