Relay workers guide 10

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

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

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

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

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

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

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

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

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

Phase 2

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

The gateway validates each lease 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 service tracks each record before forwarding it to the relay. When the response expires, the scheduler records a new attempt and keeps the previous state available for inspection.

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

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

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

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

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

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

Search documentation