How to do distributed locking | Hacker News Reader