I have a node.js server. I undertsand that 1 node process is bound to 1 CPU/CORE. So I have 2 CORE box, the I use cluster to launch 2 processes to utilize the 2 CORES of box.
However, I am not able to understand how would this work with EC2 instances ECU concept.
for eg. an m1.large instance has 2 vCPUs with 4 ECU's (Effective compute unit)
When I launch node.js with cluster, it launches 2 node processes. However, on my desktop which has 8 cores, it launches 8 node processes.
Now I am wondering whether node.js sever on m1.large with 2 cores and 4 ECUs would perform any better than a box with just 2 CORES and no ECU's
Please answer my query.