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