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