Relay logging guide 87

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
js
const lease = await client.claim({ attempts: 3 });

Phase 1

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

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

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

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

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

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

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

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

Search documentation