Expand description
Synchronous circuits over streams.
A circuit consists of operators connected by streams. At every clock cycle, each operator consumes a single value from each of its input streams and emits a single value to the output stream (except that nested circuits can execute multiple operations for each outer clock tick).
Use RootCircuit::build to create and populate an circuit that executes in
the calling thread, or Runtime::init_circuit to create a multi-circuit,
multi-worker threaded runtime. These functions return a CircuitHandle
or DBSPHandle, respectively, that control the circuits’ execution,
plus, when used in the recommended way, additional input handles for
feeding data into the circuits and output handles for obtaining their
output.
Re-exports§
pub use circuit_builder::ChildCircuit;pub use circuit_builder::Circuit;pub use circuit_builder::CircuitHandle;pub use circuit_builder::ExportId;pub use circuit_builder::ExportStream;pub use circuit_builder::FeedbackConnector;pub use circuit_builder::GlobalNodeId;pub use circuit_builder::NodeId;pub use circuit_builder::OwnershipPreference;pub use circuit_builder::RootCircuit;pub use circuit_builder::Scope;pub use circuit_builder::Stream;pub use circuit_builder::WithClock;pub use schedule::Error as SchedulerError;
Modules§
- Circuit cache.
- Logic to manage persistent checkpoints for a circuit.
- API to construct circuits.
- Storage metrics.
- Common traits for DBSP operators.
- The scheduling framework controls the execution of a circuit at runtime.
- Definitions related to tracing the execution of a circuit.
Structs§
- A config for instantiating a multithreaded/multihost runtime to execute circuits.
- A handle to control the execution of a circuit in a multithreaded runtime.
- A host for some workers in the
Layoutfor a multi-host DBSP circuit. - A multithreaded runtime that hosts
Ncircuits running in parallel worker threads. Typically, allNcircuits are identical, but this is not required or enforced. - Handle returned by
Runtime::run. - Configuration for persistent storage in a
PipelineConfig.
Enums§
- How a DBSP circuit is laid out across one or more machines.
- How to cache access to storage within a Feldera pipeline.
Type Aliases§
- Local data store shared by all workers in a runtime.