For example, let's say a user requests some kind of sound file that needs to be processed, then, of course, nodejs cannot perform intensive processing, so it must unload it into a workflow.
These workers should probably be able to pub / sub for events, respawn when they die, and the line should be able to load balance, maintain cache and continue to live. I saw 0MQ and others like it, but I'm not sure how I'm going to integrate it into a web application ...
What is the standard way to create and manage these workflows? And what tools are used?
Edit: One more thing: let's say sound processing takes a lot of time and the request expires. Is there any way around this other than increasing the timeout?
Edit 2: By workers, I mean, Heroku workers as workers - how do they work?
source share