Рет қаралды 14,028
More threads have arrived on Node js!!! 🎉🎉🎉🎉🎉🎉 What do I mean with "more threads"? It's time to dig deep on Node's interns to understand the worker_threads!
This video is for EVERYONE who works with Node.js, we will go through the Node's architecture and design to understand how threads fit into it.
In this video we will talk about:
👉How Node's async flow works and what's the Event Loop
👉What' is the worker_threads and how it works?
👉What is the use cases
👉What's the difference between async I/O, cluster module and worker threads
👉How to share memory amongst threads using features from Ecmascript 2017
Code used in the video
github.com/waldemarnt/node-do...
github.com/watson/worker-thre...
References:
nodejs.org/api/worker_threads...
github.com/tc39/ecmascript_sh...
developer.mozilla.org/en-US/d...
developer.mozilla.org/en-US/d...
www.sitepen.com/blog/the-retu...
github.com/nodejs/help/issues...
developer.mozilla.org/en-US/d...
developer.mozilla.org/en-US/d...
/ ekqcrjn
Please don't forget to 👍 and comment 🗣