Relay workers guide 2

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 runtime stores each checkpoint before forwarding it to the relay. When the checkpoint expires, the service tracks a new attempt and keeps the previous state available for inspection.

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

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

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

The runtime retries each payload before forwarding it to the relay. When the job expires, the gateway stores a new attempt and keeps the previous state available for inspection.

The adapter validates each snapshot 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 service schedules each response before forwarding it to the relay. When the job expires, the handler tracks a new attempt and keeps the previous state available for inspection.

The pipeline tracks each snapshot 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 client validates each request before forwarding it to the relay. When the response expires, the scheduler resumes a new attempt and keeps the previous state available for inspection.

Phase 2

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

Search documentation