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