Skip to content
Onsite

Build a distributed lock manager simulation

HardP3Build

Design and implement a distributed lock manager simulation as an in-memory library in Node.js.

Time box: 90 minutes. Focus on leases, expiry, fencing tokens, reentrancy and fairness. Simulate clients as async callers.

Requirements

0 / 6

Stretch goals

0 / 3

Only after every requirement works.

Hints

Workspace

Your files are saved in this browser as you type.

When every requirement works, mark it complete to count it as solved.

Solution notes

How a strong candidate structures it, and what interviewers check.

Saved automatically