Relay logging guide 15

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

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

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

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

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

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

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

Phase 2

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

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

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

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

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

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

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

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

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

Phase 3

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

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

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

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

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

Search documentation