I
I
Imbolc2013-03-16 05:37:06
JavaScript
Imbolc, 2013-03-16 05:37:06

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

4 answer(s)
Y
Yuri Shikanov, 2013-03-16
@dizballanze

You can use any message queue + something like a backgrounder to create workers (gives additional goodies).

L
laQie, 2013-03-16
@laQie

If you need an analogue of Celery, then the first thing that comes to mind is kue + cluster .

R
return, 2013-03-16
@return

Perhaps you want to use WebWorkers?

V
Vladimir Olenin, 2013-03-16
@vahvarh

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 question

Ask a Question

731 491 924 answers to any question