Answer the question
In order to leave comments, you need to log in
Heavy computing on node.js
How do you implement CPU-intensive operations in node.js? Is there something similar to celery in python?
Answer the question
In order to leave comments, you need to log in
You can use any message queue + something like a backgrounder to create workers (gives additional goodies).
If you need an analogue of Celery, then the first thing that comes to mind is kue + cluster .
If I correctly understood the task - "calculations that take too long to not be done in the body of the CGI-shki", then a separate daemon with a queue through postgresql.
I really do not use node.js, but v8cgi (teajs) - the js server-side of another developer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question