All problems
Advanced·⚙️ Infrastructure·Apache ZooKeeper · etcd · Google Chubby

Design
Distributed Lock Manager (Zookeeper-like)

Design a distributed coordination service that provides mutual exclusion locks and leader election across a cluster of nodes.

This is a Low-Level Design (LLD) problem. New to LLD vs HLD? Start here.

#Distributed Systems#Consensus#Coordination
6F + 3NF requirements inside

01 -  Why interviewers ask this

It's a from-scratch mini-Zookeeper — interviewers check if you understand consensus (Raft/Paxos) and session-based lease expiry, core distributed-systems fundamentals.

02 -  Where this system exists in the real world

You interact with this design every day.

ZooKeeper / etcd distributed coordination services

Leader election in distributed databases

Distributed cron job "only one runner" locks

03 -  What you'll master

Solve this once. Know it forever.

01

Understand consensus protocols conceptually

02

Design session-based lease expiry for locks

03

Avoid split-brain with quorum-based decisions

04 -  What you'll design

6 functional · 3 non-functional requirements.

Acquire and release a named distributed lock

5 more requirements inside

Sign in to unlock the full brief and start designing

05 -  Companies that ask this

You may face this exact question in your next interview.

A
Apache ZooKeeper
e
etcd
G
Google Chubby

Ready?

Open the canvas.
Design it yourself.

See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.