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