Relay workers guide 58

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
python
with client.session() as session:
    session.refresh()

Phase 1

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

The adapter records each response before forwarding it to the relay. When the payload expires, the client retries 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 client tracks a new attempt and keeps the previous state available for inspection.

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

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

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

Search documentation