node-worker-nodes
node-worker-nodes copied to clipboard
Worker and nodesocket server
FFMPEg runs in a worker, and in the main a node webserver who use sockets is waiting for instructions. But the web server can't respond during ffmpeg is running : why ??
If a worker that runs ffmpeg is occupied and cannot accept a new task, it should not block any other code execution in other v8 contexts. So your webserver should answer on endpoints that are not, in their handling logic, waiting for ffmpeg worker to finish (i.e. status endpoints etc.).
Could you share a code snippet that describes your setup?