How to use Multithreading with "worker threads" in Node.js?

Software Developer Diaries β€’ October 28, 2022
Video Thumbnail
Software Developer Diaries Logo

Software Developer Diaries

@softwaredeveloperdiaries

About

Hello and welcome to my channel! πŸ‘‹ I'm Gus, a Software Developer who loves sharing the learnings throughout the journey. At the moment, I work as a Software Engineer at Bosch, with experience in Web Development & Machine Learning (a weird mix, I know), and love pushing the limits. I share purely tech topics, career growth, lifehacks, and some fun content - so join me! Please consider SUBSCRIBING to the channel, if you like the content. If not, please, leave a comment on how I can improve it. All ideas and suggestions are warmly welcomed! :) DISCLAIMER: I’m lucky enough to occasionally have sponsored/affiliated products to review and feature on my channel. I would not recommend anything that I don't like or believe in as a customer myself, so you can be sure that all views are honest and 100% mine. All the videos, songs, images, and graphics used in the video belong to their respective owners and I or this channel do not claim any right over them.

Video Description

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/community/tutorials/how-to-use-multithreading-in-node-js ======⚑⚑⚑====== Consider supporting the channel by clicking the "Thanks" button ❀️ πŸ™Œ Become my Patreon and get exclusive perks: https://patreon.com/softdevdiaries πŸ’Ό Follow me on LinkedIn and drop me a message if you'd like: https://linkedin.com/in/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 😊

You May Also Like