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