Background Work
Background Work: Work That Runs After the Response.
Updated
- Work That Runs After the Response (Freelancer): When a request starts slow work the caller doesn't need to wait for, the server answers 202 Accepted with a Location to check later, hands the work to a job queue that runs it after the response, and moves heavy calculations to worker_threads, while job services such as BullMQ keep jobs safe across restarts.