Background Tasks

Choose background hooks, durable execution, or shared event transport.

Choose the mechanism according to what needs to survive a restart or cross replicas.

ExampleDescription
Durable queuePersist accepted work in PostgreSQL and execute it through queue workers.
Durable continuationContinue a parked run through the background queue.
Redis event streamShare event delivery and cancellation through Redis; this example does not enable durable execution.
Background hooksRun noncritical hook work in the background. This does not make the hook durable.