Microservices · Hard
Explain leader election in distributed systems.
MicroservicesResilienceStaff
Answer preview
Leader election is a coordination pattern where one node in a cluster is chosen as the "leader" to perform a specific task (e.g., writing to a database, coordinating work distribution), while others remain followers.…