logoalt Hacker News

upmostlyyesterday at 9:07 PM1 replyview on HN

We just published a detailed walkthrough of this exact pattern with concrete examples and failure modes:

PostgreSQL FOR UPDATE SKIP LOCKED: The One-Liner Job Queue https://www.dbpro.app/blog/postgresql-skip-locked

It covers the race condition, the atomic claim behaviour, worker crashes, and how priorities and retries are usually layered on top. Very much the same approach described in the old 2ndQuadrant post, but with a modern end-to-end example.


Replies

victor106yesterday at 9:54 PM

Love your product. Will you ever provide support of duckdb/motherduck? Wish there is a generic way you provided to add any database type

show 1 reply