Node.js · Senior · Question 60 of 75

What is the main trade-off of cluster round-robin vs. letting the OS distribute connections?

Explanation

With round-robin the primary accepts connections and passes them to workers. It's controlled by cluster.schedulingPolicy or NODE_CLUSTER_SCHED_POLICY.

Further reading

Problem with a question

Node.js · Senior · question 60

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz