Scaling Node.JS across multiple cores / servers

后端 未结 3 1741
梦谈多话
梦谈多话 2020-12-24 08:50

Ok so I have an idea I want to peruse but before I do I need to understand a few things fully.

Firstly the way I think im going to go ahead with this system is to ha

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-24 09:05

    On my front end server, I have 8 cores, what's the best way to scale node so that the load is distributed across the cores?

    Try to look at node.js cluster module which is a multi-core server manager.

提交回复
热议问题