Relay indexing guide 61

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 handler validates each snapshot before forwarding it to the relay. When the snapshot expires, the gateway records a new attempt and keeps the previous state available for inspection.

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

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

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

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

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

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

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

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

Phase 2

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

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

Search documentation