# Background workers

A step of the [Cloud application](https://gradus.kazet.blog/tree/cloud-application) tree on Gradus, in the Serving & compute area: HTTP, workers, scaling.

Page: https://gradus.kazet.blog/tree/cloud-application/step/background-workers

Add a background job/worker queue so slow or non-urgent work runs asynchronously instead of blocking a request.

Usually comes after: [Routing & middleware](https://gradus.kazet.blog/tree/cloud-application/step/routing-and-middleware).

Leads to: [Container orchestration](https://gradus.kazet.blog/tree/cloud-application/step/container-orchestration), [Scheduled jobs](https://gradus.kazet.blog/tree/cloud-application/step/scheduled-jobs).

## Prompt for your AI assistant

```
Add a background job queue (such as a Redis-backed worker) for long-running or non-urgent tasks, and move one existing slow operation onto it.
```

Every step of the tree: https://gradus.kazet.blog/tree/cloud-application/llms.txt
