l**********n 发帖数: 8443 | 1 node就可以了吧。如果多个core,那么多个node process就可以了吧。 |
c*********e 发帖数: 16335 | 2 一个core,也可以multi-threading啊。
node.js太年轻,java 8显示了它的实力和可持续发展性。不是objective-c那种冬冬,
用了之后没有新版本,直接被换成swift.
【在 l**********n 的大作中提到】 : node就可以了吧。如果多个core,那么多个node process就可以了吧。
|
l**********n 发帖数: 8443 | 3 forkjoinpool有必要吗?
【在 c*********e 的大作中提到】 : 一个core,也可以multi-threading啊。 : node.js太年轻,java 8显示了它的实力和可持续发展性。不是objective-c那种冬冬, : 用了之后没有新版本,直接被换成swift.
|
l**********n 发帖数: 8443 | 4 on a 32 core machine, I creates 32 node processes. It only creates once so
the time can be ignored. there is no overhead of thread context switching.
it is better than multi threading since you have thread overhead
【在 l**********n 的大作中提到】 : forkjoinpool有必要吗?
|
c*********e 发帖数: 16335 | 5 一个project,不仅仅是thread overhead的问题。有些东西,node.js不一定实现得了。
【在 l**********n 的大作中提到】 : on a 32 core machine, I creates 32 node processes. It only creates once so : the time can be ignored. there is no overhead of thread context switching. : it is better than multi threading since you have thread overhead
|
x*******1 发帖数: 28835 | 6 生物转CS的? 不知道有个叫等I/O把自己挂起? |
z*******3 发帖数: 13709 | 7
process本身消耗的资源远比thread要大
【在 l**********n 的大作中提到】 : on a 32 core machine, I creates 32 node processes. It only creates once so : the time can be ignored. there is no overhead of thread context switching. : it is better than multi threading since you have thread overhead
|
z*******3 发帖数: 13709 | 8 定义必要
你可以用最傻瓜的方式去做事
只要资源足够,未必不能满足需求 |
p*****2 发帖数: 21240 | 9 看有多少个core
core多了用go更帅
【在 l**********n 的大作中提到】 : node就可以了吧。如果多个core,那么多个node process就可以了吧。
|