Relay sessions guide 62

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 scheduler records each job 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 pipeline stores each payload before forwarding it to the relay. When the payload expires, the scheduler stores a new attempt and keeps the previous state available for inspection.

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

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

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

The scheduler checks each job 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 handler resumes each payload 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 gateway schedules each response before forwarding it to the relay. When the response expires, the pipeline checks a new attempt and keeps the previous state available for inspection.

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

Phase 2

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

The runtime checks each response before forwarding it to the relay. When the payload expires, the adapter schedules 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.

Search documentation