Design: Distributed Leader Election System
Design focuses on leader election mechanism and fault tolerance. Does not cover full distributed consensus or data replication.
Functional Requirements
Non-Functional Requirements
Jump into concepts and practice - no test required
+-------------------+ +-------------------+ +-------------------+
| Node 1 |<----->| Node 2 |<----->| Node 3 |
+-------------------+ +-------------------+ +-------------------+
| | |
| Heartbeats & Election Messages |
+----------------------------------------------------+
|
Leader Election Logic
|
+-------------------+
| Leader Node |
+-------------------+