Built a distributed job queue on PostgreSQL with parallel workers using SKIP LOCKED.
Intentionally failed some jobs and watched multiple workers race to recover them until the retry limit kicked in.
credit to @mehul 's youtube video.
#PostgreSQL#Python#DistributedSystems