Node.js multithreading: What are Worker Threads and why do they matter?

added by JavaScript Kicks
1/22/2019 8:39:08 AM


Since the release of Node.js v10.5.0 there's a new worker_threads module available. What exactly is this new worker thread module and why do we need it? In this post, we will talk about the historical reasons concurrency is implemented in JavaScript and Node.js, the problems we might find, current solutions and the future of parallel processing with worker threads.