Skip to main content

Module protocol

Module protocol 

Source
Expand description

Wire protocol for coordinator ↔ worker communication.

Defines message types for plan assignment, results, heartbeats, Python job management, and worker capabilities.

Structs§

Capabilities
Hardware and software capabilities of a worker.
GpuInfo
GPU hardware info.
LoadMetrics
Current load metrics reported by a worker.
PipelineFile
A source file in a pipeline job.
PythonPipelineJob
A Python pipeline job: source files + requirements for isolated execution.
SerializedFilter
A serialized filter: cloudpickle bytes to reconstruct on the worker.
SerializedPlan
A serialized plan ready for remote execution.

Enums§

CoordinatorToWorker
Messages from Coordinator → Worker.
ExecutionMode
Execution mode: fit (training) or forward (inference).
InputSource
How input data is provided to a worker.
OutputDelivery
How output is delivered in PlanResult.
PlanResult
Result of a plan execution.
StreamMessage
Streaming protocol: chunked data transfer over WebSocket Binary frames.
WorkerToCoordinator
Messages from Worker → Coordinator.

Type Aliases§

PlanId
Unique plan execution identifier.
WorkerId
Unique worker identifier.