Relay events guide 91

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 client validates each request before forwarding it to the relay. When the lease expires, the pipeline checks a new attempt and keeps the previous state available for inspection.

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

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

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

The service validates each record 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 runtime checks each payload before forwarding it to the relay. When the checkpoint expires, the handler retries a new attempt and keeps the previous state available for inspection.

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

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

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

Phase 2

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

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

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

Search documentation