Comment

Comment by CodeWriter23

> storing jobs in a database allows a program to take advantage of its transactional consistency; when an operation fails and rolls back, an injected job rolls back with it

This is a false premise for using a database as a queue. The same goal can be simply achieved with a different queuing system, say SQS, by only enqueuing jobs AFTER successful transaction commit.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton