FerryDocs
ArchitectureDeploy pipeline

Queue and worker

Each service has one worker that runs its deploys one at a time, in order.

Edit on GitHub
api: deploy 1api: deploy 2queuedweb: deploy 1Worker of apiWorker of webBuild slots2 by default

Each service has one worker. The worker runs the deploys of its service one at a time, in order.

1 / 5
MechanismWhat it isRule
The deploys of one service with the status queuedA deploy waits for its turn.
A background task, one per serviceTwo deploys of one service never overlap.
The right to build one imageThe server runs --build-concurrency builds at a time (default 2).

Only the newest deploy matters

A new deploy cancels the older deploys of the same service that wait in the queue. Their reason is superseded by dep-….

If a deploy waits in the queue, a restart request merges into that deploy. It adds no deploy, because that deploy starts with the current settings.

On this page