CNode

nodejs 现在出现错误怎么自动结束进程!多进程怎么设置!

Lljy0662发布于14 年前最后回复14 年前9 回复6460 浏览0 收藏
查看回复

回复 (9)

I
imzshh#1·14 年前
引用 xiaojuehttps://github.com/aleafs/pm

node-cluster 改名为 pm?现在都流行改名吗?

L
leizongmin#2·14 年前
引用 xiaojuehttps://github.com/aleafs/pm

@imzshh 趁现在还不是很火,赶紧改个好听的名字嘛

L
ljy0662#3·14 年前
引用 xiaojuehttps://github.com/aleafs/pm

这个是 国内的牛人开发出来的吗?

X
xiaojue#4·14 年前
H
hades#5·14 年前
引用 xiaojuehttps://github.com/aleafs/pm

@leizongmin @imzshh 哈哈,名字好不好听很重要

P
pengchun#6·14 年前

哥在这里,哈哈

P
pengchun#7·14 年前
引用 xiaojuehttps://github.com/aleafs/pm

@imzshh @hades 改名字有两个原因:

一是node本身就有一个cluster模块了,我再叫node-cluster显得有点那个,对这个模块的发展不好; 二是最近对原来的node-cluster的功能和代码进行了全新的重构,我发现它更重要的是一个进程管理器(Process Manager),而不是之前cluster所代表的多进程负责处理同一个端口请求的那么个含义。

X
xiaojue#8·14 年前

= =

A
atian25#9·14 年前
引用 xiaojuehttps://github.com/aleafs/pm

@pengchun 窃以为,pm这个名不利于推广。 就像老赵说的:

选择Wind.js的一个重要原因,便是它似乎还较为容易搜索出来。我曾经也考虑过Air.js,但是发现已经有了Adobe Air这个与JavaScript关系相对较为紧密的东西,再取名叫做Air.js就会稍显不利。

参与回复
登录后即可参与回复。登录