worker queue for nodejs?

mkoryak picture mkoryak · Jun 3, 2013 · Viewed 24.6k times · Source

I am in the process of beginning to write a worker queue for node using node's cluster API and mongoose.

I noticed that a lot of libs exist that already do this but using redis and forking. Is there a good reason to fork versus using the cluster API?

edit and now i also find this: https://github.com/xk/node-threads-a-gogo -- too many options!

I would rather not add redis to the mix since I already use mongo. Also, my requirements are very loose, I would like persistence but could go without it for the first version.

Part two of the question: What are the most stable/used nodejs worker queue libs out there today?

Answer

rafaelcastrocouto picture rafaelcastrocouto · Jun 12, 2013

Have u tried https://github.com/rvagg/node-worker-farm? It is very light weight and doesn't require a separate server.