Expand description
§fv-compute-wasm — the WASM Component Model backend
Implements fv_compute::TransformBackend for impl = "wasm": it compiles a component once
(load), then runs whole Arrow RecordBatches across the WIT boundary per call. A pool of
pre-instantiated wasmtime Stores makes it partition-parallel — each worker
checks out its own instance, so a single box saturates its cores with no per-batch
instantiation cost.
Register it on a fv_compute::Backends set for impl = "wasm" manifests.
Structs§
- Wasm
Backend - The WASM backend. One per process (or per engine config); cheap to clone-share via the
registry. Holds the shared wasmtime
Engine(its module cache/allocator). - Wasm
Compute - A loaded wasm transform.
runis the hot per-batch path; instances are pooled and reused (checked out without holding the lock during the guest call, so partitions run in parallel).