by Gooblebrai · 3mo ago · 0 comments
As I understand, it uses Postgres's "FOR UPDATE SKIP LOCKED" job claim feature. I don't run most jobs concurrently because they need to build on each other. Postgres advisory locks sit on top for mutual exclusion and solid_queue handles queuing. It's akin to good_job which is the pg-native thing from before solid_queue existed, but I just stuck with the easy Rails default and this is the first time I've even thought to remember how it works.