Microservices, System Architecture, Interview Questions, System Design Interview, Systems Thinking.
unique UID. When a node receives a UID, it compares the incoming UID with its own, and if the incoming is greater than its own, it forwards it if the incoming is lesser than its own, it discards if the incoming UID == its own, it declares itself as the new leader 4. Algorithm stops when the node