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.
- Storage
Conn π - A storage client connection.
- Storage
Guest π - Per-worker state for hosting storage objects on the compute cluster.
- Storage
Guest Config - Configuration for hosting storage objects on the compute cluster.
- Worker π
- State maintained for each worker thread.
EnumsΒ§
- Compute
Runtime Role - Which of a processβs compute runtimes a given runtime is.
- Worker
Command π - 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
ClusterClientandWorkerchannels.
Type AliasesΒ§
- Storage
Client πRx - A per-worker channel delivering storage client connections.