gpt4 book ai didi

javascript - Node.js 的 Cluster 模块和 Learnboost 的 Cluster 模块有什么区别?

转载 作者:数据小太阳 更新时间:2023-10-29 05:26:58 26 4
gpt4 key购买 nike

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

这两者如何比较?它们有某种关联吗?

最佳答案

Nick Hagianis 已经说过了,node.js 的cluster 模块暂时去掉了。据我所知,LearnBoost 集群模块不再积极开发。 LearnBoost 模块的问题列表很长。

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

关于javascript - Node.js 的 Cluster 模块和 Learnboost 的 Cluster 模块有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11620648/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com