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