Background Work

Background Work: Work That Runs After the Response.

Updated

  1. Work That Runs After the Response (Freelancer): FastAPI's BackgroundTasks runs a function after the answer has gone, so a caller never waits for a confirmation message or a log entry, 202 Accepted says slow work has been taken on, and a job queue such as Celery or RQ is what keeps work safe when it must survive a restart.