Retrying Failed Jobs in Small Apps — Node.js Queues, DLQs, and 3 Practical Trade-offs
Short answer: for a property-management cleanup that must survive failures, a queue with a dead-letter queue (DLQ) and redrive is usually the better engineering choice than polling a failed_jobs table. The queue gives retries, acknowledgement, and poison-message isolation a visible shape. Database polling can still be the right call for a tiny, low-volume app where one process and one table are worth more than another service. I care about revenue per hour. A retry loop that takes a Friday away from shipping is an expensive feature, even if its cloud bill is small.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in