Node.js CPU load balancing

后端 未结 3 1749
时光说笑
时光说笑 2021-02-10 03:09

I created test with JMeter to test performance of Ghost blogging platform. Ghost written in Node.js and was installed in cloud server with 1Gb RAM, 1 CPU.

I noticed aft

3条回答
  •  有刺的猬
    2021-02-10 03:44

    Are you using cluster module to load-balance and Node 0.10.x?

    If that's so, please update your node.js to 0.11.x.

    Node 0.10.x was using balancing algorithm provided by an operating system. In 0.11.x the algorithm was changed, so it will be more evenly distributed from now on.

提交回复
热议问题