Skip to main content

Module orchestrator

Module orchestrator 

Source

Modulesยง

cli ๐Ÿ”’
config ๐Ÿ”’
result_handler ๐Ÿ”’
service ๐Ÿ”’
task_distributor ๐Ÿ”’
trace ๐Ÿ”’
worker ๐Ÿ”’

Structsยง

ControllerService
The main orchestrator service struct.
LiveState
State for a live (feed-based) measurement.
MeasurementState
All state associated with a single active measurement.
Participant
A worker participating in the active measurement. Participants can re-join after disconnect.
PendingTarget
A live target awaiting a discovery reply before it is probed (or given up on timeout).
TracerouteConfig
Traceroute configuration

Enumsยง

Access
Which client(s) this Orchestrator service accepts.
WorkerSel
Worker selection of a live-feed target (parsed from LiveTarget.worker_ids).

Constantsยง

LIVE_DISCOVERY_TIMEOUT_SECS
Timeout for live-feed discovery probes

Functionsยง

serve ๐Ÿ”’
Serve the controller on [::]:port, optionally with TLS.
start
Starts the orchestrator on the specified port.
wire_nprobes
Encode nprobes 1 as 0 for gRPC compression

Type Aliasesยง

CliHandle ๐Ÿ”’
CliSender ๐Ÿ”’
MeasurementHandle
Shared handle to the active measurement state. None when no measurement is running.
ResultMessage ๐Ÿ”’
TaskMessage ๐Ÿ”’
WorkerRegistry ๐Ÿ”’
Shared registry of connected worker senders. Updated when a worker reconnects.