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