Queues

Move webhook handling, email delivery, fan-out, and other slow work out of the request cycle. Run the queue and its workers on the same platform.

Best for

Webhook processing, fan-out jobs, email delivery, and anything that should not block a request cycle.

What you get

  • Queues for background jobs and asynchronous workflows
  • Retry and fan-out processing
  • Worker processes managed with application services

How queues fit into the runtime

The web process handles requests. Workers handle everything that does not belong on that path.

Background work stays off the request path

Enqueue slow work and let a worker process it independently from the web request.

Retries are part of the queue

Failed work can be retried without turning retry state into application plumbing.

Workers run with your application

Deploy workers beside the services that enqueue work and manage both from one place.