Relay queues guide 4

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

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

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

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

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

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

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

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

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

Phase 2

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

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

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

Search documentation