mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-02-05 08:39:12 -06:00
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.