DEV Community

Discussion on: Deep Dive Into Worker Threads in Node.js

Collapse
 
ionline247 profile image
Matthew Bramer

Very nice write-up! With these new worker threads, is there a feature request to add pooling natively, or is this going to be left for userland modules?

Collapse
 
deepal profile image
Deepal Jayasekara

Thanks, Mattew. I haven't seen a feature request or a PR to add worker pooling, therefore I guess for now we have to rely on our own implementation or depend on a third-party module for pooling.

Collapse
 
ionline247 profile image
Matthew Bramer

How much work does your example need to make it production quality? Also, is there a repo for it?

Thread Thread
 
deepal profile image
Deepal Jayasekara

There's no repo for it. But you can access it from the above repl.it REPL I have embedded. There are a plenty of NPM modules which already implement worker pools, which you might be interested in.