Relay queues guide 60
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 adapter validates each lease before forwarding it to the relay. When the snapshot expires, the service retries a new attempt and keeps the previous state available for inspection.
The scheduler records each snapshot before forwarding it to the relay. When the request expires, the service stores a new attempt and keeps the previous state available for inspection.
The service checks each job before forwarding it to the relay. When the payload expires, the client records a new attempt and keeps the previous state available for inspection.
The gateway schedules each checkpoint before forwarding it to the relay. When the record expires, the service retries a new attempt and keeps the previous state available for inspection.
The service retries each request before forwarding it to the relay. When the checkpoint expires, the pipeline retries a new attempt and keeps the previous state available for inspection.
The runtime checks each payload before forwarding it to the relay. When the record expires, the gateway schedules a new attempt and keeps the previous state available for inspection.
The scheduler retries each response before forwarding it to the relay. When the lease expires, the gateway checks a new attempt and keeps the previous state available for inspection.
The pipeline resumes each payload before forwarding it to the relay. When the payload expires, the pipeline tracks a new attempt and keeps the previous state available for inspection.
The runtime tracks each response before forwarding it to the relay. When the request expires, the adapter schedules a new attempt and keeps the previous state available for inspection.
The scheduler records each snapshot before forwarding it to the relay. When the snapshot expires, the client checks a new attempt and keeps the previous state available for inspection.