Build a Distributed Lock
fencing tokens and leases
Challenge 1 of Coordination & ConsensusAdvanced~60 minFree
Build the coordination primitive behind leader election and exclusive access: mutual exclusion with owner tokens, self-expiring leases so a crashed holder can't deadlock the system, monotonic fencing tokens that stop stale writers, lease renewal for long jobs, and a Redlock-style quorum across N nodes.