Expand description
An interactive dataflow server.
StructsΒ§
- Command
Receiver π - Endpoint used by workers to receive compute commands.
- Compute
Instance Context - Caller-provided configuration for compute.
- Config π
- Configures the server with compute-specific metrics.
- Nonce
Change π - Error type returned on connection nonce changes.
- Response
Sender π - 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
andWorker
channels.