title: How to create a thread pool in nodejs?
body: <p>So out of curiosity, I was thinking of creating my own thread pool in nodejs from which I can run number of threads in parallelly? Been looking to <a href="https://www.npmjs.com/package/webworker-threads" rel="nofollow">webworker-threads</a> and <a href="https://www.npmjs.com/package/npool" rel="nofollow">npool</a> but not being to understand much from it..</p>
  
  <p>Is it possible to create a thread pool in nodejs?
  Also how to execute number of threads from the pool created in parallel number of threads/chid_processes? Like is distributed system? </p>