Module server

Source
Expand description

An interactive dataflow server.

StructsΒ§

CommandReceiver πŸ”’
Endpoint used by workers to receive compute commands.
ComputeInstanceContext
Caller-provided configuration for compute.
Config πŸ”’
Configures the server with compute-specific metrics.
NonceChange πŸ”’
Error type returned on connection nonce changes.
ResponseSender πŸ”’
Endpoint used by workers to send sending compute responses.
Worker πŸ”’
State maintained for each worker thread.

FunctionsΒ§

serve
Initiates a timely dataflow computation, processing compute commands.
set_core_affinity πŸ”’
Set the current thread’s core affinity, based on the given worker_id.
spawn_channel_adapter πŸ”’
Spawn a thread to bridge between ClusterClient and Worker channels.