How to send a large buffer between the process and the worker?

There is a main process and have a worker (started only one), from worker give data to the process via process.send, in the process using worker.on('message',...) get.
The problem is that when data in a buffer (test on 20MB) the shipment is very delayed for 30-40 seconds.
Are there any quicker ways to transfer data? Database use is not desirable. Maybe it can be native to write to shared memory?
June 26th 19 at 13:57
1 answer
June 26th 19 at 13:59
This topic is not cooked, but it was the experience of sharing data between applications, try to bind unixsokets
child_process.send and done on a unix socket. and in Perth there is a normal regular if the corresponding node to start up - astrid_Sawayn commented on June 26th 19 at 14:02

Find more questions by tags Node.jsJavaScript