node-php icon indicating copy to clipboard operation
node-php copied to clipboard

Multi-Threaded (Worker API) Architecture instead of child process Spawn

Open ganeshkbhat opened this issue 6 years ago • 0 comments

There is a new worker multi-threading feature that is in experimental stage. Do you want to explore changing the child process spawn into multi-threaded architecture for the package instead of multi-process architecture. I would love to collaborate if you want. I am sure it will be more performant. Right now, applications like drupal work with the package. But it gives a choppy feeling due to the lag/cost of spawning and getting the result. The process is basically getting the entire result and once received it sends the data - performance hit. It is spawning a child process for every request also which will move into a performance issue soon - second performance hit.

ganeshkbhat avatar Sep 16 '18 14:09 ganeshkbhat