Distributed locking with Postgres advisory locks | Hacker News Reader