亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

node.js - Can a single-core CPU use cluster to open multiple threads?
天蓬老師
天蓬老師 2017-06-27 09:19:14
0
3
1172

In order to reduce the chance of downtime. I plan to use node's cluster module to enable multi-threading. One master thread is responsible for scheduling, and multiple worker threads are responsible for processing business.

Now the server's CPU only has a single-core CPU, which should be able to have multiple worker threads, right?

My thinking: A single-core CPU can have multiple parallel processes. Each process can start a node instance to achieve the above effect.

天蓬老師
天蓬老師

歡迎選擇我的課程,讓我們一起見證您的進步~~

reply all(3)
劉奇

No, one core and one cluster

曾經(jīng)蠟筆沒有小新

cpu to worker1:1

某草草

cluster does multi-process, one core and one process

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template