Relay queues guide 92

The relay coordinates work between independent services.

Continue with the next guide or review the overview.

Relay flow

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
sh
relay inspect --format json

Phase 1

The gateway tracks each request before forwarding it to the relay. When the lease expires, the scheduler retries a new attempt and keeps the previous state available for inspection.

The scheduler records each record before forwarding it to the relay. When the payload expires, the scheduler validates a new attempt and keeps the previous state available for inspection.

The adapter validates each record before forwarding it to the relay. When the record expires, the service schedules a new attempt and keeps the previous state available for inspection.

The handler resumes each record before forwarding it to the relay. When the snapshot expires, the service checks a new attempt and keeps the previous state available for inspection.

The service checks each request before forwarding it to the relay. When the request expires, the gateway records a new attempt and keeps the previous state available for inspection.

The handler retries each job before forwarding it to the relay. When the record expires, the adapter schedules a new attempt and keeps the previous state available for inspection.

The handler validates each job 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 handler checks each request before forwarding it to the relay. When the checkpoint expires, the service records a new attempt and keeps the previous state available for inspection.

The client records each payload before forwarding it to the relay. When the job expires, the client validates a new attempt and keeps the previous state available for inspection.

Phase 2

The scheduler records each request before forwarding it to the relay. When the lease expires, the gateway validates a new attempt and keeps the previous state available for inspection.

The client stores each lease before forwarding it to the relay. When the job expires, the scheduler checks a new attempt and keeps the previous state available for inspection.

The handler stores each job before forwarding it to the relay. When the checkpoint expires, the client records a new attempt and keeps the previous state available for inspection.

The runtime tracks each snapshot before forwarding it to the relay. When the response expires, the service retries a new attempt and keeps the previous state available for inspection.

Search documentation