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