Quick and dirty distributed locking using a database | Hacker News Reader