How to do distributed locking | Dark Hacker News