0

thread pool size can be determined with UV_THREADPOOL_SIZE.
Worker_thread can create threads dynamically in runtime.
Is this a only difference between thread pool and worker thread?
Recently, I'm so curious about node.js! Can anyone tell me differences between thread pool and worker thread plz...?

Also, I heard when worker_threads are created they also have v8 and eventloop their own.
Then, would it be more efficient to define thread pool size using UV_THREADPOOL_SIZE?

  • 1
    hi, perhaps might be of interest https://stackoverflow.com/questions/29404784/how-nodejss-internal-threadpool-works-exactly – jspcal Oct 21 '22 at 02:09
  • thanks! I've checked the link, but still I couldn't find the differnce between thread pool and worker_thread.. – RunningLearner Oct 21 '22 at 05:29

0 Answers0