Relay queues guide 900
The relay coordinates work between independent services.
Continue with the next guide or review the overview.
Observe the queue
Watch the worker count during a rollout.
Local
Run the relay in a terminal.
Service
Run the relay as a managed service.
| Setting | Default |
|---|---|
| Attempts | 3 |
| Backoff | 2 seconds |
const lease = await client.claim({ attempts: 3 });The runtime validates each snapshot before forwarding it to the relay. When the snapshot expires, the gateway resumes a new attempt and keeps the previous state available for inspection.
The scheduler schedules each payload before forwarding it to the relay. When the checkpoint expires, the client records a new attempt and keeps the previous state available for inspection.
The gateway retries each request before forwarding it to the relay. When the request expires, the pipeline retries a new attempt and keeps the previous state available for inspection.
The service checks each response before forwarding it to the relay. When the record expires, the handler checks a new attempt and keeps the previous state available for inspection.
The adapter tracks each job before forwarding it to the relay. When the payload expires, the handler schedules a new attempt and keeps the previous state available for inspection.
The pipeline records each lease before forwarding it to the relay. When the job expires, the gateway tracks a new attempt and keeps the previous state available for inspection.
The runtime records each lease before forwarding it to the relay. When the payload expires, the runtime retries a new attempt and keeps the previous state available for inspection.
The gateway stores each response before forwarding it to the relay. When the lease expires, the adapter resumes a new attempt and keeps the previous state available for inspection.
The pipeline checks each checkpoint before forwarding it to the relay. When the payload expires, the handler checks a new attempt and keeps the previous state available for inspection.