performance - Node.js CPU load balancing -


I made a test with JMTor to test the performance of the ghost blogging platform. Ghost is written in Node and 1GB RAM was installed in the cloud server with 1 CPU.

I saw that 400 concurrent users are receiving JMeter errors. Load up to 400 concurrent users is normal. I decide to increase the CPU and add 1 CPU.

But the error was republished and added 2 CPUs, totally 4 CPUs are having problems after 400 concurrent users.

I do not understand why 1 CPU can control 400 users and the same result with 4 CPUs.

During the monitoring, I noticed that only one CPU is busy and 3 other CPUs are useless. When I check the JMMR summary in the console, there are about 5% of errors. See screenshot

CPU usage

I like to know Is it possible to balance the load between the CPU?

Do you have cluster for load balancing and node 0.10.x Using the module?

If so, please update your node.JS to 0.11.x.

Node 0.10. X was using a balance algorithm provided by an operating system. Algorithm in 0.11.x, so it will be distributed evenly from now on.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -