Files
trailbase/crates/wasm-runtime-host
Sebastian Jeltsch 33a770d4ea Change WASM execution model from a per-component executor to a shared executor.
Previously, we were aiming for a simple non-Send parallel execution model to minimize overhead. However, wanting to allow many components, the isolation may become prohibitive. Now use a dedicated but shared Tokio runtime with `--runtime-threads` parallelism. This means WASM tasks, i.e. continuuations, are sent between threads. Naively, we would expect that work-stealing and higher utilization, will benefit most workloads.
2025-09-30 13:07:29 +02:00
..