A background job, from the API to a worker

A background job, from the API to a worker A sequence diagram generated by Archify. add(job, { attempts, backoff }) job id take the next job job, locked to this worker do the work rows updateProgress completed, or failed → retry after backoff job events (optional) Enqueue Process Finish API · producer · Sequence participant API producer Redis · BullMQ queue · Sequence participant Redis BullMQ queue node-worker · consumer · Sequence participant node-worker consumer PostgreSQL · the API's schema · Sequence participant PostgreSQL the API's schema Legend request return async trace default message