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