简体   繁体   中英

What's the difference between Node.js' Cluster module and Learnboost's Cluster module?

Node.js itself has a core module called Cluster ( ref: http://nodejs.org/docs/v0.8.3/api/cluster.html ) and Learnboost has released a module that is also named Cluster (ref: http://learnboost.github.com/cluster/ https://github.com/LearnBoost/cluster ).

How do these two compare? Are they related in someway?

Nick Hagianis alredy said it, the cluster module of node.js was temporarily removed. As far as I can see the LearnBoost cluster module isn't developed actively any more. The issues list of the LearnBoost module is quite long.

The LearnBoost module has some features as zero-downtime restart that the internal module doesn't offer. But I'm not sure if it still works with current (0.8.x) versions of node. If you need similar features you may take a look at the Forever tool.

现在, 群集模块已重新添加到核心模块集中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM