3 ms·
Some ground info, Node has worker_threads for this purpose. https://nodejs.org/api/worker_threads.html https://nodejs.org/api/worker_threads.html I haven't had
by rektide 4y ago
Some ground info, Node has worker_threads for this purpose. https://nodejs.org/api/worker_threads.html https://nodejs.org/api/worker_threads.html
I haven't had cause to use it yet, but I very much trust/respect the team behind: https://www.npmjs.com/package/piscina https://www.npmjs.com/package/piscina . It's so popular it has well maintained forks, such as tinypool, https://www.npmjs.com/package/tinypool https://www.npmjs.com/package/tinypool .
Also seeing good npm popularity metrics around: https://www.npmjs.com/package/synckit https://www.npmjs.com/package/synckit