Microservices, System Architecture, Interview Questions, System Design Interview, Systems Thinking.
update locally about the newly elected leader. 👉 Complexity Every node could potentially receive the message from every other node; the communication complexity, # messages shared, is thus O(n²). HS ALGORITHM FOR LEADER ELECTION 👉 Assumptions of Algorithm 1. Every node has a comparable unique ID.