Pattern 60 / COORD

Leader Election

Use this when Choosing one active coordinator without split brain.

Pressure
Choosing one active coordinator without split brain
Mechanism
Use leases, consensus, or lock services to select a single leader and renew ownership
Toll
Clock assumptions, lease expiry, and failover behavior must be designed carefully
Architecture plate60
Diagram for Leader Election
Executive brief

Leader Election fits when Choosing one active coordinator without split brain. Mechanism: Use leases, consensus, or lock services to select a single leader and renew ownership. Use it for Schedulers, primaries, coordinators, stream processors. The toll: Clock assumptions, lease expiry, and failover behavior must be designed carefully.

Use when

Schedulers, primaries, coordinators, stream processors.

Example

Use leader election when schedulers, primaries, coordinators, stream processors..

Review framing

Describe the pressure first, then the mechanism, then the cost. That keeps the design grounded.

Same pressure family

Coordination

61Distributed Lock62Lease63Fencing Token
โ† 5961 โ†’