Relay sessions guide 70

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

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

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

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

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

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

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

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

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

Phase 2

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

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

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

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

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

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

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

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

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

Phase 3

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

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

Search documentation