How to use Multithreading with "worker threads" in Node.js?
Software Developer Diaries Software Developer Diaries
33.2K subscribers
63,045 views
1.9K

 Published On Oct 28, 2022

JavaScript is single-threaded, but parallelism and multithreading are possible within Node.js with the help of worker threads. In this video, we're going to explore how one can make an Express.js server faster with worker threads when the main thread is blocked by heavy computations.

📚 Resources:
Stanley Ulili's article on Digital Ocean: https://www.digitalocean.com/communit...

======⚡⚡⚡======
Consider supporting the channel by clicking the "Thanks" button ❤️

👉 Get a 20% discount on Brilliant.org (to learn Science, Technology, Engineering, and Math): https://brilliant.sjv.io/kjVO2z
======⚡⚡⚡======

🙌 Become my Patreon and get exclusive perks:   / softdevdiaries  
💼 Follow me on LinkedIn and drop me a message if you'd like:   / gusgadirov  
💻 Also, let's connect on GitHub: https://github.com/gusgad

🕒 Timestamps:
(0:00) Node.js multithreading overview
(3:33) How Node.js worker threads can help
(09:02) Optimizing worker threads

And don't forget to subscribe for more videos like this 😊

show more

Share/Embed