Hacker News new | ask | show | jobs
by heresy 5458 days ago
One thing I'm not sure about with these job queues - how do you handle cases like having to drop down to C++ to do a chunk of work that cannot be done in JS, without blocking the interpreter?

Or would you just submit that work to a separate external process over something like RabbitMQ, and handle the return when its done?

1 comments

few ways, you could still utilize child processes of course, so web workers or something. Or just chunk that work up and nextTick() increasing concurrency, OR just increase the total number of workers for more parallelism.