Node.js的Cluster模块和Learnboost的Cluster模块之间有什么区别?

时间:2012-07-23 21:17:54

标签: javascript node.js cluster-computing npm

Node.js本身有一个名为Cluster的核心模块(ref:http://nodejs.org/docs/v0.8.3/api/cluster.html),Learnboost发布了一个名为Cluster的模块(参考:http://learnboost.github.com/cluster/ https://github.com/LearnBoost/cluster)。

这两者如何比较?它们是否相关?

2 个答案:

答案 0 :(得分:3)

Nick Hagianis alredy说,node.js的集群模块暂时被删除了。据我所知,LearnBoost集群模块不再是主动开发的。 LearnBoost模块的问题列表很长。

LearnBoost模块具有内部模块不提供的零停机重启功能。但我不确定它是否仍适用于当前(0.8.x)版本的节点。如果您需要类似的功能,可以查看Forever工具。

答案 1 :(得分:1)

cluster module现已重新添加到核心模块集中。

相关问题