Implement leader election for distributed systems
Implement leader election:
Nodes: ${{NODE_COUNT}}
Platform: ${{PLATFORM}}
Requirements: ${{REQUIREMENTS}}
Design:
- Election algorithm
- Coordination service (ZooKeeper, etcd)
- Failure detection
- Leadership transfer
- Split-brain prevention
- Monitoring
- Testing approach
- Recovery proceduresPremium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with ProReplace these placeholders with your own content before using the prompt.
[{NODE_COUNT][{PLATFORM][{REQUIREMENTS]