Re:Distributed locking with Postgres advisory locks
by DylanSp on Sunday January 23, 2022 @10:29PM
(#30053404)
SQL Server has similar capabilities with sp_getapplock/sp_releaseapplock, though IIRC it doesn't work well in a distributed environment. I believe when I tested it on an AWS RDS multi-AZ database, the locks got released by a failover from the primary to a read replica.
[ Parent
| on HN ]
There are no comments on this comment yet.