capsule
capsule copied to clipboard
Use a pool of instances of the wasm module
👀 https://wazero.io/languages/#concurrency-via-orchestration
To work around lack of concurrency at the WebAssembly Core abstraction, tools often orchestrate pools of workers, and ensure a module in that pool is only used sequentially. For example, waPC provides a WASM module pool, so host callbacks can be invoked in parallel, despite not being able to share memory.
👀 https://github.com/wapc/wapc-go