Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker and nodesocket server #34

Open
Patrick88-vecoux opened this issue Mar 29, 2020 · 1 comment
Open

Worker and nodesocket server #34

Patrick88-vecoux opened this issue Mar 29, 2020 · 1 comment

Comments

@Patrick88-vecoux
Copy link

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 ??

@kwiatkk1
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants