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