node-compute-cluster
- 授权协议: ISC
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/lloyd/node-compute-cluster
软件介绍
node-compute-cluster 是一个让 Node.js 支持跨进程分布式计算的扩展。
主程序:
const computecluster = require('compute-cluster');
// allocate a compute cluster
var cc = new computecluster({
module: './worker.js'
});
var toRun = 10
// then you can perform work in parallel
for (var i = 0; i < toRun; i++) {
cc.enqueue({}, function(err, r) {
if (err) console.log("an error occured:", err);
else console.log("it's nice:", r);
if (--toRun === 0) cc.exit();
});
};
worker.js:
process.on('message', function(m) {
for (var i = 0; i < 100000000; i++);
process.send('complete');
});
共鸣:内容运营方法论
舒扬 / 机械工业出版社 / 2017-5-8 / 59.00
近5年来网络信息量增长了近10倍,信息极度过剩。移动互联网以碎片化、强黏度以及惊人的覆盖率给传统的商业环境带来了巨大的影响,向陈旧的广告、公关、媒体行业展开了深度的冲击。 传统的以渠道为中心的传播思想几近失效,优秀内容成为了各行业最稀缺的资产,这是时代赋予内容生产者的巨大机会。本书作者在多年经验和大量案例研究的基础上,总结出了移动互联网时代的内容运营方法论——共鸣,它将告诉我们如何收获核心粉......一起来看看 《共鸣:内容运营方法论》 这本书的介绍吧!
