Relay sessions guide 46

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

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

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

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

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

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

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

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

Phase 2

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

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

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

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

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

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

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

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

Phase 3

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

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

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

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

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

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

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

Search documentation