Skip to main content

Module server

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.
StorageConn πŸ”’
A storage client connection.
StorageGuest πŸ”’
Per-worker state for hosting storage objects on the compute cluster.
StorageGuestConfig
Configuration for hosting storage objects on the compute cluster.
Worker πŸ”’
State maintained for each worker thread.

EnumsΒ§

ComputeRuntimeRole
Which of a process’s compute runtimes a given runtime is.
WorkerCommand πŸ”’
A command dispatched to the worker from the command channel.

FunctionsΒ§

serve
Initiates a timely dataflow computation, processing compute commands.
serve_inner πŸ”’
Builds the Timely cluster for the given config and returns its worker threads along with a builder for compute clients to it.
serve_unified
Initiates a timely dataflow computation that processes compute commands and additionally hosts storage objects, processing storage commands received over a separate client connection.
set_core_affinity πŸ”’
Set the current thread’s core affinity, based on the given worker_id.
spawn_channel_adapter πŸ”’
Spawn a task to bridge between ClusterClient and Worker channels.

Type AliasesΒ§

StorageClientRx πŸ”’
A per-worker channel delivering storage client connections.