Relay routing guide 64

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

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

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

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

The client resumes 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 gateway resumes each lease before forwarding it to the relay. When the checkpoint expires, the service schedules a new attempt and keeps the previous state available for inspection.

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

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

Phase 2

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

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

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

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

Search documentation