Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which module should be used to run CPU-intensive work without blocking the event loop?

  1. A cluster
  2. B worker_threads
  3. C http
  4. D events
Answer

worker_threads

worker_threads moves CPU-bound work off the main thread within one process. cluster forks processes to scale I/O-bound work across cores.

All NodeJS MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as