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