Which Node.js feature can help in improving the performance of CPU-bound tasks?

  • Event Loop
  • Callback Hell
  • Cluster Module
  • Promises
The Cluster Module in Node.js allows you to create child processes and distribute CPU-bound tasks across multiple cores, thus improving performance. The Event Loop and Promises are more related to handling I/O-bound operations and asynchronous programming, while "Callback Hell" is not a Node.js feature.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *