MCQs > IT & Programming > Node.js > How would you determine the number of cluster instances to start when using the cluster module?

Node.js MCQs

How would you determine the number of cluster instances to start when using the cluster module?

Answer

Correct Answer: Const numInstances = require('os').cpus().length;

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it