You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand how to use wasmer-go to enable concurrent execution of
(exported) functions.
Documentation is silent on this topic.
Among Engine, Store, Module, Instance, Function, Memory, I assume none are safe for concurrent
use.
However, other runtimes (wasmtime) allow multiple instances to be created (provided this action is mutex protected), and then
you can create multiple function instances that can be called concurrently.
is it possible to do something similar w/ wasmer? I've tried many different approaches -- without
much luck -- all wind up in a CGo panic (or panic during panic);
In general, an example of concurrent execution or at least documentation explaining which wasmer components
are safe for concurrent use would be much appreciated.
The text was updated successfully, but these errors were encountered:
I'm trying to understand how to use wasmer-go to enable concurrent execution of
(exported) functions.
Documentation is silent on this topic.
Among Engine, Store, Module, Instance, Function, Memory, I assume none are safe for concurrent
use.
However, other runtimes (wasmtime) allow multiple instances to be created (provided this action is mutex protected), and then
you can create multiple function instances that can be called concurrently.
is it possible to do something similar w/ wasmer? I've tried many different approaches -- without
much luck -- all wind up in a CGo panic (or panic during panic);
In general, an example of concurrent execution or at least documentation explaining which wasmer components
are safe for concurrent use would be much appreciated.
The text was updated successfully, but these errors were encountered: