LiquidAI-project / wasmiot-supervisor

Device supervisor to manage deployment of WebAssembly modules. Works together with wasmiot-orchestrator.
MIT License
0 stars 1 forks source link

Wasmtime migration #22

Closed trkks closed 1 year ago

heikkilv commented 1 year ago

With wasmtime runtime, the tests from readme with fibo, ml, and camera modules seem to work ok regardless of the order of the modules or how many times they are used.

With wasm3 there will be memory issues if more than one module that allocates memory is used. I.e. using ml inference module by itself (or with fibonacci module) is alright several times in a row, but trying to use both ml and camera modules without restarting the supervisor causes wasm memory issues. Might have to force runtime restart with the wasm3 case.