Richard Clayton

Distributed Locking with Postgres Advisory Locks

TL;DR

Postgres Advisory Locks are a great solution for arbitrary application locks, particularly in scenarios where you are already using Postgres and have a need to block concurrent mutations to a resource (that resource DOES NOT have to be data in Postgres).


Concurrency is hard

We ran into a problem . . .

Read More

February 16, 2020

Archive