gear icon indicating copy to clipboard operation
gear copied to clipboard

Investigate performance of `wasmer` multithread

Open breathx opened this issue 3 years ago • 0 comments

Problem to Solve

Once parallelism will be applied, it usually will use structure, where there is single wasmer instance, which works with multiple threads. I think that it has some overhead for safety interaction with the threads.

Possible Solution

Apply separate wasmer instance for each created thread. It will cost a time for compilation, but should increase performance. Also need investigate possibility of collisions on stored binaries caches on disk for this wasmers.

Notes

Discussed with @grishasobol. So @grishasobol asked to check this idea.

breathx avatar Jul 27 '22 13:07 breathx