locks
Postgres advisory locks, table locks, and blocking lock management.
Caching and distributed locks in your applications with just one or two lines. Easy to learn. Fast to code.
Easy distributed locking using PostgreSQL Advisory Locks.
When there are not enough locks from the standard library
Locks for arbitrary resources