Is it possible to share memory between the main and the render process in Electron?

151 views Asked by At

I'm working on an application that needs to transfer lots of binary data (chunks of 10-100 MB) as fast as possible, and the ipc api and/or http requests are simply not fast enough (~50-200 MB/s). The best would be to share memory to make it nearly instant. The render process only need to read and not write, if that changes anything.

I have tried SharedArrayBuffer (according to this) but I get the error "Error: An object could not be cloned."

Any ideas?

0

There are 0 answers