job queue
A queue separates accepting work from processing it.
Use this when Slow work should continue independently of the request that created it.
without the term
“Generating the PDF report takes a minute and the request times out. Can you make it happen in the background and let the user know when it's ready? It shouldn't get lost if the server restarts.”
with the term · How do you ask a model for job queue?
Queue this background operation durably. Test a worker restart, duplicate delivery, and a terminal failure with a recoverable record.
What is job queue?
The request records the work in a durable queue and returns. Separate workers process it with retries, and failures stay visible instead of disappearing with the request.
Why does job queue matter when vibe coding?
An in-memory callback can disappear when the request or process ends.
How do you do job queue?
Choose durable acceptance, bounded retry, and idempotent processing; make terminal failures visible.
What goes wrong with job queue?
Returning success before the work has been durably accepted.