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